-
Notifications
You must be signed in to change notification settings - Fork 9
41 lines (32 loc) · 896 Bytes
/
build.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
name: build
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
windows:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
include:
- branch: swift-5.4.3-release
tag: 5.4.3-RELEASE
options: '-Xmanifest -use-ld=link -Xswiftc -use-ld=link'
- branch: swift-5.5.3-release
tag: 5.5.3-RELEASE
options: '-Xmanifest -use-ld=link -Xswiftc -use-ld=link'
- branch: development
tag: DEVELOPMENT-SNAPSHOT-2023-08-12-a
options: ''
steps:
- uses: compnerd/gha-setup-swift@main
with:
tag: ${{ matrix.tag }}
branch: ${{ matrix.branch }}
- uses: actions/checkout@v3
- name: Build
run: swift build ${{ matrix.options }}
- name: Test
run: swift test ${{ matrix.options }}