-
-
Notifications
You must be signed in to change notification settings - Fork 602
52 lines (48 loc) · 1.16 KB
/
ci-swiftpm.yml
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
50
51
52
name: CI (SwiftPM)
on:
push:
branches:
- main
tags:
- "*"
pull_request:
branches:
- "*"
jobs:
swiftpm_darwin_monterey:
name: SwiftPM, Darwin, Xcode ${{ matrix.xcode }}
runs-on: macos-12
strategy:
matrix:
xcode: ["14.0.1", "14.1", "14.2"]
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
steps:
- uses: actions/checkout@v4
- run: ./test swiftpm
swiftpm_darwin_ventura:
name: SwiftPM, Darwin, Xcode ${{ matrix.xcode }}
runs-on: macos-13
strategy:
matrix:
xcode: ["14.3.1"]
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
steps:
- uses: actions/checkout@v4
- run: ./test swiftpm
swiftpm_linux:
name: SwiftPM, Linux
runs-on: ubuntu-latest
strategy:
matrix:
container:
- swift:5.7
- swift:5.8
# - swiftlang/swift:nightly
fail-fast: false
container: ${{ matrix.container }}
steps:
- uses: actions/checkout@v4
- run: swift build -Xswiftc -suppress-warnings
- run: swift test -Xswiftc -suppress-warnings --enable-test-discovery