-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (48 loc) · 1.09 KB
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: ci
on:
- push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: norio-nomura/[email protected]
macos-test:
strategy:
matrix:
swift-version:
- "5.9"
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: swift-actions/setup-swift@v1
with:
swift-version: ${{ matrix.swift-version }}
- run: swift test
linux-test:
strategy:
matrix:
swift-version:
- "5.9"
- "5.8"
- "5.7"
- "5.6"
- "5.5"
- "5.4"
- "5.3"
- "5.2"
- "5.1"
- "5.0"
runs-on: ubuntu-latest
container:
image: swift:${{ matrix.swift-version }}
volumes:
- /lib/x86_64-linux-gnu/libc.so.6:/lib/x86_64-linux-gnu/libc.so.6
steps:
- uses: actions/checkout@v3
- run: swift test
ios-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: xcodebuild -scheme geodesic -destination 'platform=iOS Simulator,name=iPhone 13'