Add build mode to Swift autobuild check
This commit is contained in:
parent
1428e58aad
commit
eb17dc2c6f
2 changed files with 2 additions and 5 deletions
2
.github/workflows/__swift-autobuild.yml
generated
vendored
2
.github/workflows/__swift-autobuild.yml
generated
vendored
|
|
@ -61,6 +61,7 @@ jobs:
|
||||||
id: init
|
id: init
|
||||||
with:
|
with:
|
||||||
languages: swift
|
languages: swift
|
||||||
|
build-mode: autobuild
|
||||||
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
||||||
- uses: ./../action/.github/actions/setup-swift
|
- uses: ./../action/.github/actions/setup-swift
|
||||||
with:
|
with:
|
||||||
|
|
@ -83,5 +84,4 @@ jobs:
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT: 'true' # Remove when Swift is GA.
|
|
||||||
CODEQL_ACTION_TEST_MODE: true
|
CODEQL_ACTION_TEST_MODE: true
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,13 @@
|
||||||
name: "Swift analysis using autobuild"
|
name: "Swift analysis using autobuild"
|
||||||
description: "Tests creation of a Swift database using autobuild"
|
description: "Tests creation of a Swift database using autobuild"
|
||||||
# versions: ["latest", "cached", "nightly-latest"]
|
|
||||||
versions: ["nightly-latest"]
|
versions: ["nightly-latest"]
|
||||||
# Swift autobuilder is only supported on MacOS for private beta
|
|
||||||
operatingSystems: ["macos"]
|
operatingSystems: ["macos"]
|
||||||
env:
|
|
||||||
CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT: "true" # Remove when Swift is GA.
|
|
||||||
steps:
|
steps:
|
||||||
- uses: ./../action/init
|
- uses: ./../action/init
|
||||||
id: init
|
id: init
|
||||||
with:
|
with:
|
||||||
languages: swift
|
languages: swift
|
||||||
|
build-mode: autobuild
|
||||||
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
||||||
- uses: ./../action/.github/actions/setup-swift
|
- uses: ./../action/.github/actions/setup-swift
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue