Skip to content

Commit 7fdbe1d

Browse files
committed
Run the tests on every push
1 parent c2ceac0 commit 7fdbe1d

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
name: Swift tests (macOS)
11+
runs-on: macos-26
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Select latest Xcode
15+
run: sudo xcode-select -s "$(ls -d /Applications/Xcode*.app | sort -V | tail -1)/Contents/Developer"
16+
- name: Install SDL3
17+
run: brew install sdl3
18+
- name: Show toolchain
19+
run: swift --version
20+
- name: Run tests
21+
run: swift test

0 commit comments

Comments
 (0)