blob: 4a06297e71769dd122ba6d9175be0b4f46c88924 (
plain)
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: "[macOS] Test & check build"
on: [ push, pull_request ]
jobs:
test-go:
name: "[macOS] Test Go"
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ^1.15
- run: make test-go
build-lib:
name: "[macOS] Build shared Go library"
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ^1.15
- run: make
- uses: actions/upload-artifact@v2
with:
name: shared-lib
path: exports/lib/
retention-days: 1
test-swift:
name: "[macOS] Test Swift wrapper"
needs: build-lib
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
# Note: Swift is already included
- uses: actions/download-artifact@v2
with:
name: shared-lib
path: exports/lib/
- name: Test
run: make -C wrappers/swift test
|