Skip to content

Commit dd16a30

Browse files
committed
Add CI workflow
Runs swift build and swift test on macos-14 and macos-15.
1 parent 435e685 commit dd16a30

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
build-and-test:
11+
name: Build & Test (macOS ${{ matrix.os }})
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: [macos-14, macos-15]
16+
runs-on: ${{ matrix.os }}
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Show Swift version
23+
run: swift --version
24+
25+
- name: Build
26+
run: swift build
27+
28+
- name: Test
29+
run: swift test

0 commit comments

Comments
 (0)