File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99jobs :
1010 run :
11- name : Test on ${{ matrix.os }} with swift ${{ matrix.swift }}
11+ name : Test on ${{ matrix.os }} - ${{ matrix.version }}
1212 runs-on : ${{ matrix.os }}
1313 strategy :
1414 fail-fast : false
1515 matrix :
16- os : [macos-latest, ubuntu-latest]
17- swift : ["5.10", "6.0", "6.1"]
16+ include :
17+ - os : ubuntu-latest
18+ version : " 5.10"
19+ - os : ubuntu-latest
20+ version : " 6.0"
21+ - os : ubuntu-latest
22+ version : " 6.1"
23+ - os : ubuntu-latest
24+ version : " 6.2"
25+ - os : macos-latest
26+ version : " 16.2" # Swift 6.0
27+ - os : macos-latest
28+ version : " 16.4" # Swift 6.1
29+ - os : macos-latest
30+ version : " 26.1" # Swift 6.2
1831 steps :
1932 - if : startsWith(matrix.os, 'ubuntu')
2033 uses : vapor/swiftly-action@v0.2
2134 with :
22- toolchain : ${{ matrix.swift }}
35+ toolchain : ${{ matrix.version }}
2336 - if : startsWith(matrix.os, 'macos')
24- uses : swift-actions/setup-swift@v2
25- with :
26- swift-version : ${{ matrix.swift }}
37+ name : Select Xcode
38+ run : sudo xcode-select -s "/Applications/Xcode_${{ matrix.version }}.app"
2739
2840 - name : Checkout
2941 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 55 release :
66 types : [published]
77
8- env :
9- SWIFT_VERSION : " 6.1.0"
10-
118jobs :
129 build :
1310 name : Build for ${{ matrix.destination.name }}
2219 - if : startsWith(matrix.destination.name, 'ubuntu')
2320 uses : vapor/swiftly-action@v0.2
2421 with :
25- toolchain : ${{ env.SWIFT_VERSION }}
22+ toolchain : " 6.2 "
2623 - if : startsWith(matrix.destination.name, 'macos')
27- run : sudo xcode-select -s /Applications/Xcode_16.3 .app
24+ run : sudo xcode-select -s /Applications/Xcode_26.1 .app
2825
2926 - uses : actions/checkout@v4
3027 - name : Create the binary
4744 - { name: "ubuntu-x86_64", os: ubuntu-22.04 }
4845 - { name: "ubuntu-aarch64", os: ubuntu-24.04-arm }
4946 - { name: "ubuntu-aarch64", os: ubuntu-22.04-arm }
47+ - { name: "macos-universal", os: macos-26 }
5048 - { name: "macos-universal", os: macos-15 }
5149 - { name: "macos-universal", os: macos-14 }
52- - { name: "macos-universal", os: macos-13 }
5350 steps :
5451 - uses : actions/download-artifact@v4
5552 with :
7774 with :
7875 name : mockolo.artifactbundle.zip
7976 path : mockolo.artifactbundle.zip
80-
77+
8178 - name : Compute checksum
8279 id : checksum
8380 run : echo "checksum=$(swift package compute-checksum mockolo.artifactbundle.zip)" >> "$GITHUB_OUTPUT"
Original file line number Diff line number Diff line change @@ -65,7 +65,9 @@ echo "OUTPUT FILE = ${OUTFILE}"
6565cd " $SRCDIR "
6666rm -rf .build
6767case $( uname -s) in
68- Linux* ) swift build -c release
68+ Linux* ) swift build -c release \
69+ -Xlinker -rpath -Xlinker /usr/lib/swift/linux \
70+ -Xlinker -rpath -Xlinker /usr/share/swift/usr/lib/swift/linux
6971 cd .build/release;;
7072 Darwin* ) swift build -c release --arch arm64 --arch x86_64
7173 cd .build/apple/Products/Release;;
You can’t perform that action at this time.
0 commit comments