-
-
Notifications
You must be signed in to change notification settings - Fork 4
47 lines (44 loc) · 995 Bytes
/
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
name: SwiftPM
on:
push:
branches:
- main
paths:
- '.github/workflows/swiftpm.yml'
- 'Examples/**/*.swift'
- 'Package*'
- 'Sources/**/*.swift'
- 'Tests/**/*.swift'
pull_request:
paths:
- '.github/workflows/swiftpm.yml'
- 'Examples/**/*.swift'
- 'Package*'
- 'Sources/**/*.swift'
- 'Tests/**/*.swift'
workflow_dispatch: ~
concurrency:
group: swiftpm-${{ github.ref }}
cancel-in-progress: true
jobs:
macOS:
runs-on: macos-15
strategy:
matrix:
xcode: ['16.1']
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
steps:
- uses: actions/checkout@v4
- run: swift -version
- run: swift test --parallel
Linux:
runs-on: ubuntu-latest
strategy:
matrix:
tag: ['6.0']
container:
image: swift:${{ matrix.tag }}-focal
steps:
- uses: actions/checkout@v4
- run: swift test --parallel