|
6 | 6 | workflow_dispatch: |
7 | 7 |
|
8 | 8 | jobs: |
9 | | - xcode_15_3: |
10 | | - runs-on: macos-14 |
11 | | - env: |
12 | | - DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer |
| 9 | + xcode_16: |
| 10 | + runs-on: macos-15 |
13 | 11 | steps: |
14 | 12 | - name: Checkout |
15 | 13 | 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 |
16 | 18 | - name: Version |
17 | 19 | run: swift --version |
18 | 20 | - name: Build |
19 | 21 | run: swift test --enable-code-coverage --filter do_not_test |
20 | 22 | - name: Test |
21 | 23 | run: swift test --enable-code-coverage --skip-build |
22 | 24 | - name: Gather code coverage |
23 | | - run: xcrun llvm-cov export -format="lcov" .build/debug/SwiftDrawPackageTests.xctest/Contents/MacOS/SwiftDrawPackageTests -instr-profile .build/debug/codecov/default.profdata > coverage_report.lcov |
| 25 | + run: xcrun llvm-cov export -format="lcov" .build/debug/FlyingFoxPackageTests.xctest/Contents/MacOS/FlyingFoxPackageTests -instr-profile .build/debug/codecov/default.profdata > coverage_report.lcov |
24 | 26 | - name: Upload Coverage |
25 | 27 | uses: codecov/codecov-action@v4 |
26 | 28 | with: |
27 | 29 | token: ${{ secrets.CODECOV_TOKEN }} |
28 | 30 | files: ./coverage_report.lcov |
29 | 31 |
|
30 | | - xcode_15_2: |
| 32 | + xcode_15_4: |
| 33 | + runs-on: macos-14 |
| 34 | + env: |
| 35 | + DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer |
| 36 | + steps: |
| 37 | + - name: Checkout |
| 38 | + uses: actions/checkout@v4 |
| 39 | + - name: Version |
| 40 | + run: swift --version |
| 41 | + - name: Build |
| 42 | + run: swift build --build-tests |
| 43 | + - name: Test |
| 44 | + run: swift test --skip-build |
| 45 | + |
| 46 | + xcode_15_3: |
31 | 47 | runs-on: macos-14 |
32 | 48 | env: |
33 | | - DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer |
| 49 | + DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer |
34 | 50 | steps: |
35 | 51 | - name: Checkout |
36 | 52 | uses: actions/checkout@v4 |
@@ -93,3 +109,16 @@ jobs: |
93 | 109 | run: swift build --build-tests |
94 | 110 | - name: Test |
95 | 111 | run: swift test --skip-build |
| 112 | + |
| 113 | + linux_6: |
| 114 | + runs-on: ubuntu-latest |
| 115 | + container: swift:6.0 |
| 116 | + steps: |
| 117 | + - name: Checkout |
| 118 | + uses: actions/checkout@v4 |
| 119 | + - name: Version |
| 120 | + run: swift --version |
| 121 | + - name: Build |
| 122 | + run: swift build --build-tests |
| 123 | + - name: Test |
| 124 | + run: swift test --skip-build |
0 commit comments