Skip to content

Commit 8ea1344

Browse files
authored
Add CI workflow (#1)
1 parent 551cc6e commit 8ea1344

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
8+
9+
jobs:
10+
test:
11+
name: Swift ${{ matrix.swift }} on Xcode ${{ matrix.xcode }}
12+
runs-on: ${{ matrix.runs-on }}
13+
env:
14+
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer"
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
include:
19+
- swift: "6.0"
20+
xcode: "16.0"
21+
runs-on: macos-15
22+
- swift: "6.1"
23+
xcode: "16.3"
24+
runs-on: macos-15
25+
- swift: "6.2"
26+
xcode: "26.0"
27+
runs-on: macos-26
28+
29+
steps:
30+
- uses: actions/checkout@v4
31+
32+
- name: Build
33+
run: swift build -v
34+
35+
- name: Test
36+
run: swift test -v

0 commit comments

Comments
 (0)