Skip to content

Commit

Permalink
Merge pull request #2342 from github/henrymercer/swift-autobuild-chec…
Browse files Browse the repository at this point in the history
…k-with-build-mode

 Add build mode to Swift autobuild PR check
  • Loading branch information
henrymercer authored Jun 18, 2024
2 parents 0d598e7 + 691e81d commit 2674782
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/__swift-autobuild.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions pr-checks/checks/swift-autobuild.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
name: "Swift analysis using autobuild"
description: "Tests creation of a Swift database using autobuild"
# versions: ["latest", "cached", "nightly-latest"]
versions: ["nightly-latest"]
# Swift autobuilder is only supported on MacOS for private beta
operatingSystems: ["macos"]
env:
CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT: "true" # Remove when Swift is GA.
steps:
- uses: ./../action/init
id: init
with:
languages: swift
build-mode: autobuild
tools: ${{ steps.prepare-test.outputs.tools-url }}
- uses: ./../action/.github/actions/setup-swift
with:
Expand All @@ -19,7 +16,7 @@ steps:
shell: bash
run: pwd
- uses: ./../action/autobuild
timeout-minutes: 10
timeout-minutes: 30
- uses: ./../action/analyze
id: analysis
with:
Expand Down

0 comments on commit 2674782

Please sign in to comment.