зеркало из https://github.com/github/codeql.git
Swift: only run Xcode autobuilder on macOS
This commit is contained in:
Родитель
3040837062
Коммит
f3ed54e7ba
|
@ -84,8 +84,12 @@ pkg_filegroup(
|
|||
srcs = [
|
||||
":extractor",
|
||||
":swift-test-sdk-arch",
|
||||
":xcode-autobuilder",
|
||||
],
|
||||
] + select({
|
||||
"@platforms//os:linux": [],
|
||||
"@platforms//os:macos": [
|
||||
":xcode-autobuilder"
|
||||
],
|
||||
}),
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
exec "${CODEQL_EXTRACTOR_SWIFT_ROOT}/tools/${CODEQL_PLATFORM}/xcode-autobuilder"
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
exec "${CODEQL_EXTRACTOR_SWIFT_ROOT}/tools/${CODEQL_PLATFORM}/xcode-autobuilder"
|
||||
else
|
||||
echo "Not implemented yet"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Загрузка…
Ссылка в новой задаче