File tree Expand file tree Collapse file tree 5 files changed +63
-43
lines changed
Expand file tree Collapse file tree 5 files changed +63
-43
lines changed Original file line number Diff line number Diff line change 1717 image : swift:${{ matrix.swift }}
1818 steps :
1919 - name : Checkout
20- uses : actions/checkout@master
20+ uses : actions/checkout@v2.5.0
2121 - name : Test
22- run : make test
22+ run : swift test -c release --skip-update --parallel --enable-code-coverage
2323 - name : Build Release
24- run : make buildRelease
24+ run : swift build -c release
Original file line number Diff line number Diff line change 1+ name : macOS
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+ workflow_dispatch :
9+
10+ jobs :
11+ macos-test-build-release-xcode :
12+ runs-on : macos-11
13+ strategy :
14+ matrix :
15+ xcode : [11.7, 12.5.1]
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v2.5.0
19+ - name : Select Xcode ${{ matrix.xcode }}
20+ run : sudo xcode-select -s '/Applications/Xcode_${{ matrix.xcode }}.app'
21+ - name : Test
22+ run : make test
23+ env :
24+ DEVELOPER_DIR : /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
25+ - name : Upload test artifacts
26+ if : failure()
27+ uses : actions/upload-artifact@v3.1.1
28+ with :
29+ name : test-artifacts-${{ matrix.xcode }}-${{ github.run_id }}
30+ path : |
31+ .build/**/*.json
32+ .build/**/*.xctest
33+ - name : Build Release
34+ run : make buildRelease
35+ env :
36+ DEVELOPER_DIR : /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
37+ - name : Upload build artifacts
38+ if : failure()
39+ uses : actions/upload-artifact@v3.1.1
40+ with :
41+ name : build-artifacts-${{ matrix.xcode }}-${{ github.run_id }}
42+ path : |
43+ *.lcov
44+ .build/*.yaml
45+ .build/**/*.a
46+ .build/**/*.so
47+ .build/**/*.dylib
48+ .build/**/*.dSYM
49+ .build/**/*.json
Original file line number Diff line number Diff line change 99
1010jobs :
1111 macos-test-build-release-xcode :
12- runs-on : macOS-11
12+ runs-on : macos-latest
1313 strategy :
1414 matrix :
15- xcode : ["11.7", "12.5.1", "13.0" ]
15+ xcode : [13.4.1, 14.1 ]
1616 steps :
1717 - name : Checkout
18- uses : actions/checkout@master
18+ uses : actions/checkout@v2.5.0
1919 - name : Select Xcode ${{ matrix.xcode }}
20- run : sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
20+ run : sudo xcode-select -s ' /Applications/Xcode_${{ matrix.xcode }}.app'
2121 - name : Test
2222 run : make test
2323 env :
2424 DEVELOPER_DIR : /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
2525 - name : Upload test artifacts
2626 if : failure()
27- uses : actions/upload-artifact@v2.2.3
27+ uses : actions/upload-artifact@v3.1.1
2828 with :
2929 name : test-artifacts-${{ matrix.xcode }}-${{ github.run_id }}
3030 path : |
3636 DEVELOPER_DIR : /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
3737 - name : Upload build artifacts
3838 if : failure()
39- uses : actions/upload-artifact@v2.2.3
39+ uses : actions/upload-artifact@v3.1.1
4040 with :
4141 name : build-artifacts-${{ matrix.xcode }}-${{ github.run_id }}
4242 path : |
Original file line number Diff line number Diff line change @@ -13,14 +13,14 @@ jobs:
1313 strategy :
1414 matrix :
1515 include :
16- - tag : 5.5 -RELEASE
17- branch : swift-5.5 -release
16+ - tag : 5.7 -RELEASE
17+ branch : swift-5.7 -release
1818 steps :
19- - uses : actions/checkout@master
19+ - uses : actions/checkout@v2.5.0
2020 with :
2121 fetch-depth : 1
2222
23- - uses : seanmiddleditch/gha-setup-vsdevenv@master
23+ - uses : seanmiddleditch/gha-setup-vsdevenv@v4
2424
2525 - name : Install Swift ${{ matrix.tag }}
2626 run : |
4141 Copy-Item "$env:SDKROOT\usr\share\winsdk.modulemap" -destination "$env:UniversalCRTSdkDir\Include\$env:UCRTVersion\um\module.modulemap"
4242
4343 - name : Test
44- run : swift test -v --skip-update --parallel --enable-test-discovery
44+ run : swift test
4545
4646 - name : Build Release
4747 run : swift build -c release
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments