Skip to content

Commit 2674782

Browse files
authored
Merge pull request #2342 from github/henrymercer/swift-autobuild-check-with-build-mode
Add build mode to Swift autobuild PR check
2 parents 0d598e7 + 691e81d commit 2674782

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/__swift-autobuild.yml

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pr-checks/checks/swift-autobuild.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
name: "Swift analysis using autobuild"
22
description: "Tests creation of a Swift database using autobuild"
3-
# versions: ["latest", "cached", "nightly-latest"]
43
versions: ["nightly-latest"]
5-
# Swift autobuilder is only supported on MacOS for private beta
64
operatingSystems: ["macos"]
7-
env:
8-
CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT: "true" # Remove when Swift is GA.
95
steps:
106
- uses: ./../action/init
117
id: init
128
with:
139
languages: swift
10+
build-mode: autobuild
1411
tools: ${{ steps.prepare-test.outputs.tools-url }}
1512
- uses: ./../action/.github/actions/setup-swift
1613
with:
@@ -19,7 +16,7 @@ steps:
1916
shell: bash
2017
run: pwd
2118
- uses: ./../action/autobuild
22-
timeout-minutes: 10
19+
timeout-minutes: 30
2320
- uses: ./../action/analyze
2421
id: analysis
2522
with:

0 commit comments

Comments
 (0)