-
Notifications
You must be signed in to change notification settings - Fork 10
48 lines (46 loc) · 1.03 KB
/
test.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
name: Test
on:
push:
branches:
- main
tags-ignore:
- '**'
pull_request:
branches:
- '**'
jobs:
test-macos:
name: Test on macOS
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build and test
run: make test
test-linux:
name: Test on Linux
runs-on: ubuntu-20.04
container:
image: swift:5.5.1-focal
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Test catbird app
run: swift test --package-path Packages/CatbirdApp --disable-automatic-resolution
test-linux-build:
name: Build on Linux
runs-on: ubuntu-20.04
container:
image: swift:5.5.1-focal
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build catbird app
id: build
run: .github/scripts/linux-build.sh
shell: bash
- name: Upload binary
uses: actions/upload-artifact@v2
with:
name: catbird-linux
path: catbird-linux