Skip to content

Commit d637ec5

Browse files
Updated actions on macOS to use setup-xcode
1 parent b79b0d7 commit d637ec5

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/test.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,29 @@ on:
66
pull_request:
77
branches: [ master ]
88
jobs:
9-
build:
9+
linux-build:
1010
name: Build and test on ${{ matrix.os }}
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
os: [macos-latest, ubuntu-latest]
14+
os: [ubuntu-latest]
1515
steps:
1616
- uses: actions/checkout@v2
1717
- uses: swift-actions/setup-swift@v1
1818
- name: Build
1919
run: swift build
2020
- name: Run tests
2121
run: swift test
22+
macos-build:
23+
name: Build and test on ${{ matrix.os }}
24+
runs-on: ${{ matrix.os }}
25+
strategy:
26+
matrix:
27+
os: [macos-latest]
28+
steps:
29+
- uses: actions/checkout@v2
30+
- uses: maxim-lobanov/setup-xcode@v1
31+
- name: Build
32+
run: swift build
33+
- name: Run tests
34+
run: swift test

0 commit comments

Comments
 (0)