File tree Expand file tree Collapse file tree 1 file changed +67
-0
lines changed
Expand file tree Collapse file tree 1 file changed +67
-0
lines changed Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ push :
5+ pull_request :
6+ workflow_dispatch :
7+
8+ jobs :
9+ xcode_14_2 :
10+ runs-on : macos-12
11+ env :
12+ DEVELOPER_DIR : /Applications/Xcode_14.2.app/Contents/Developer
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v3
16+ - name : Version
17+ run : swift --version
18+ - name : Build
19+ run : swift build --build-tests
20+ - name : Test
21+ run : swift test --enable-code-coverage
22+ - name : Gather code coverage
23+ run : xcrun llvm-cov export -format="lcov" .build/debug/AllocatedLockPackageTests.xctest/Contents/MacOS/AllocatedLockPackageTests -instr-profile .build/debug/codecov/default.profdata > coverage_report.lcov
24+ - name : Upload Coverage
25+ uses : codecov/codecov-action@v3
26+ with :
27+ files : ./coverage_report.lcov
28+
29+ xcode_13_2_1 :
30+ runs-on : macos-11
31+ env :
32+ DEVELOPER_DIR : /Applications/Xcode_13.2.1.app/Contents/Developer
33+ steps :
34+ - name : Checkout
35+ uses : actions/checkout@v3
36+ - name : Version
37+ run : swift --version
38+ - name : Build
39+ run : swift build --build-tests
40+ - name : Test
41+ run : swift test --skip-build
42+
43+ linux_swift_5_7 :
44+ runs-on : ubuntu-latest
45+ container : swift:5.7
46+ steps :
47+ - name : Checkout
48+ uses : actions/checkout@v3
49+ - name : Version
50+ run : swift --version
51+ - name : Build
52+ run : swift build --build-tests
53+ - name : Test
54+ run : swift test --skip-build
55+
56+ linux_swift_5_8 :
57+ runs-on : ubuntu-latest
58+ container : swift:5.8
59+ steps :
60+ - name : Checkout
61+ uses : actions/checkout@v3
62+ - name : Version
63+ run : swift --version
64+ - name : Build
65+ run : swift build --build-tests
66+ - name : Test
67+ run : swift test --skip-build
You can’t perform that action at this time.
0 commit comments