Skip to content

Commit e988fa7

Browse files
committed
Xcode 14.3
1 parent cabfd9f commit e988fa7

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

.github/workflows/build.yml

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,40 @@ on:
66
workflow_dispatch:
77

88
jobs:
9-
macos:
10-
runs-on: macos-latest
9+
xcode_14_3:
10+
runs-on: macos-13
11+
env:
12+
DEVELOPER_DIR: /Applications/Xcode_14.3.app/Contents/Developer
1113
steps:
1214
- name: Checkout
1315
uses: actions/checkout@v3
14-
- name: Build and Test
16+
- name: Version
17+
run: swift --version
18+
- name: Build
19+
run: swift build --build-tests
20+
- name: Test
1521
run: swift test --enable-code-coverage
1622
- name: Gather code coverage
1723
run: xcrun llvm-cov export -format="lcov" .build/debug/SwiftDrawPackageTests.xctest/Contents/MacOS/SwiftDrawPackageTests -instr-profile .build/debug/codecov/default.profdata > coverage_report.lcov
1824
- name: Upload Coverage
1925
uses: codecov/codecov-action@v3
2026
with:
21-
fail_ci_if_error: true
2227
files: ./coverage_report.lcov
2328

29+
xcode_14_2:
30+
runs-on: macos-12
31+
env:
32+
DEVELOPER_DIR: /Applications/Xcode_14.2.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+
2443
linux:
2544
runs-on: ubuntu-latest
2645
container: swift:5.5

0 commit comments

Comments
 (0)