Skip to content

Commit 0d2ceaa

Browse files
committed
Xcode 16.2
1 parent 9f7f107 commit 0d2ceaa

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@ on:
88
jobs:
99
xcode_16:
1010
runs-on: macos-15
11+
env:
12+
DEVELOPER_DIR: /Applications/Xcode_16.2.app/Contents/Developer
1113
steps:
1214
- name: Checkout
1315
uses: actions/checkout@v4
14-
- name: 🔍 Xcode Select
15-
run: |
16-
XCODE_PATH=`mdfind "kMDItemCFBundleIdentifier == 'com.apple.dt.Xcode' && kMDItemVersion == '16.*'" -onlyin /Applications | head -1`
17-
echo "DEVELOPER_DIR=$XCODE_PATH/Contents/Developer" >> $GITHUB_ENV
1816
- name: Version
1917
run: swift --version
2018
- name: Build
@@ -58,7 +56,7 @@ jobs:
5856

5957
linux_swift_6_0:
6058
runs-on: ubuntu-latest
61-
container: swift:6.0
59+
container: swift:6.0.3
6260
steps:
6361
- name: Checkout
6462
uses: actions/checkout@v4
@@ -69,17 +67,19 @@ jobs:
6967
- name: Test
7068
run: swift test --skip-build
7169

72-
linux_swift_6_1:
70+
linux_swift_6_0_musl:
7371
runs-on: ubuntu-latest
74-
container: swiftlang/swift:nightly-jammy
72+
container: swift:6.0.3
7573
steps:
7674
- name: Checkout
7775
uses: actions/checkout@v4
7876
- name: Version
7977
run: swift --version
78+
- name: SDK List Pre
79+
run: swift sdk list
80+
- name: Install SDK
81+
run: swift sdk install https://download.swift.org/swift-6.0.3-release/static-sdk/swift-6.0.3-RELEASE/swift-6.0.3-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz --checksum 67f765e0030e661a7450f7e4877cfe008db4f57f177d5a08a6e26fd661cdd0bd
82+
- name: SDK List Post
83+
run: swift sdk list
8084
- name: Build
81-
run: swift build --build-tests
82-
- name: Test
83-
run: swift test --skip-build
84-
85-
85+
run: swift build --swift-sdk x86_64-swift-linux-musl

0 commit comments

Comments
 (0)