File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -44,20 +44,25 @@ jobs:
4444 run: swift test -v
4545
4646 static-linux-sdk-build:
47- name: Linux Static SDK Build (${{ matrix.swift-version }} - ${{ matrix.os }})
47+ name: Linux Static SDK Build (${{ matrix.swift-version }} - ${{ matrix.triple }})
4848 strategy:
4949 matrix:
5050 os: [ubuntu-latest]
5151 swift-version:
5252 - 6.1.2
53+ --triple:
54+ - aarch64-swift-linux-musl
55+ - x86_64-swift-linux-musl
5356 runs-on: ${{ matrix.os }}
5457 container: swift:${{ matrix.swift-version }}-noble
5558 timeout-minutes: 30
5659 steps:
5760 - name: Check out code
5861 uses: actions/checkout@v4
5962 - name: Install static SDK and build
63+ env:
64+ BUILD_FLAGS: --triple ${{ matrix.triple }}
6065 run: |
6166 which curl || (apt -q update && apt -yq install curl)
6267 curl -s --retry 3 https://raw.githubusercontent.com/swiftlang/github-workflows/refs/heads/main/.github/workflows/scripts/install-and-build-with-sdk.sh | \
63- bash -s -- --static ${{ matrix.swift-version }}
68+ bash -s -- --static --flags="$BUILD_FLAGS" ${{ matrix.swift-version }}
You can’t perform that action at this time.
0 commit comments