-
Notifications
You must be signed in to change notification settings - Fork 34
31 lines (29 loc) · 737 Bytes
/
ci.yml
File metadata and controls
31 lines (29 loc) · 737 Bytes
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
name: Swift
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test-macos:
runs-on: macos-13
env:
DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer
steps:
- uses: actions/checkout@v3
- name: Build
run: swift build -v
- name: Test
run: swift test -v
test-linux:
runs-on: ubuntu-22.04
strategy:
matrix:
swift: ["6.0"]
container: swift:${{ matrix.swift }}
steps:
- uses: actions/checkout@v3
- name: Build
run: swift build
- name: Run tests
run: swift test