mirror of
https://github.com/github/codeql-action.git
synced 2025-12-27 17:50:07 +08:00
* PR checks: Only run Swift build command on MacOS * PR checks: update to only test Swift on MacOS * Log warning if workflow is running Swift on Ubuntu --------- Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
16 lines
186 B
Bash
Executable File
16 lines
186 B
Bash
Executable File
#!/bin/bash
|
|
|
|
gcc -o main main.c
|
|
|
|
dotnet build -p:UseSharedCompilation=false
|
|
|
|
javac Main.java
|
|
|
|
go build main.go
|
|
|
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
|
swift build
|
|
fi
|
|
|
|
kotlinc main.kt
|