Skip to content

Commit bce5b76

Browse files
committed
Enabled GitHub CI action
1 parent 4cad333 commit bce5b76

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/swift.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Swift CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
runs-on: macos-latest
12+
13+
strategy:
14+
matrix:
15+
xcode: [ "15.4", "16.1" ]
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Select Xcode ${{ matrix.xcode }}
21+
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
22+
23+
- name: Build
24+
run: swift build -v
25+
26+
- name: Run tests
27+
run: swift test -v

0 commit comments

Comments
 (0)