Skip to content

Commit d276e45

Browse files
authored
Add GitHub Action workflows which build main branch (post-merge) (#1361)
1 parent ffda98a commit d276e45

File tree

3 files changed

+45
-1
lines changed

3 files changed

+45
-1
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: main branch, main toolchain
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
tests:
14+
name: Test
15+
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
16+
with:
17+
linux_swift_versions: '["nightly-main"]'
18+
linux_os_versions: '["amazonlinux2", "jammy"]'
19+
windows_swift_versions: '["nightly-main"]'
20+
enable_macos_checks: true
21+
macos_exclude_xcode_versions: '[{"xcode_version": "16.2"}, {"xcode_version": "16.3"}, {"xcode_version": "16.4"}]'
22+
enable_wasm_sdk_build: true
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: main branch, 6.2 toolchain
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
tests:
14+
name: Test
15+
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
16+
with:
17+
linux_swift_versions: '["nightly-6.2"]'
18+
linux_os_versions: '["amazonlinux2", "jammy"]'
19+
windows_swift_versions: '["nightly-6.2"]'
20+
enable_macos_checks: true
21+
macos_exclude_xcode_versions: '[{"xcode_version": "16.2"}, {"xcode_version": "16.3"}, {"xcode_version": "16.4"}]'
22+
enable_wasm_sdk_build: true

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
linux_os_versions: '["amazonlinux2", "jammy"]'
1818
windows_swift_versions: '["nightly-main", "nightly-6.2"]'
1919
enable_macos_checks: true
20-
macos_exclude_xcode_versions: "[{\"xcode_version\": \"16.2\"}, {\"xcode_version\": \"16.3\"}, {\"xcode_version\": \"16.4\"}]"
20+
macos_exclude_xcode_versions: '[{"xcode_version": "16.2"}, {"xcode_version": "16.3"}, {"xcode_version": "16.4"}]'
2121
enable_wasm_sdk_build: true
2222
soundness:
2323
name: Soundness

0 commit comments

Comments
 (0)