Skip to content

Commit b33f38f

Browse files
committed
Add CI
1 parent 8fecb61 commit b33f38f

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
paths-ignore:
7+
- '**/README.md'
8+
- 'CONTRIBUTING.md'
9+
- 'CODE_OF_CONDUCT.md'
10+
pull_request:
11+
branches: [ "main" ]
12+
paths-ignore:
13+
- '**/README.md'
14+
- 'CONTRIBUTING.md'
15+
- 'CODE_OF_CONDUCT.md'
16+
17+
jobs:
18+
macos-15:
19+
name: Build macOS 15
20+
runs-on: macos-15
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v4
24+
- name: Build
25+
run: swift build -v
26+
# - name: Run tests
27+
# run: swift test -v
28+
ubuntu:
29+
name: Build Linux
30+
runs-on: ubuntu-latest
31+
container:
32+
image: swift:latest
33+
steps:
34+
- uses: actions/checkout@v4
35+
- name: Build
36+
run: swift build -v
37+
# - name: Run tests
38+
# run: swift test -v

0 commit comments

Comments
 (0)