-
Notifications
You must be signed in to change notification settings - Fork 77
73 lines (66 loc) · 1.73 KB
/
ci-build-and-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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: CI | Build & Test
on:
push:
branches:
- "**"
pull_request:
jobs:
build-docker-and-linux:
name: Build Docker image & Linux executable
uses: ./.github/workflows/build-linux-and-docker.yml
strategy:
matrix:
arch:
- arm64
- amd64
with:
output-artifact-name: lottie-to-png.linux.${{ matrix.arch }}
arch: ${{ matrix.arch }}
test-docker:
name: Run tests on Docker
needs: build-docker-and-linux
uses: ./.github/workflows/test-docker.yml
strategy:
matrix:
arch:
- amd64
- arm64
with:
output-artifact-name: test-results.linux.${{ matrix.arch }}
arch: ${{ matrix.arch }}
build-darwin:
name: Build Darwin executable
uses: ./.github/workflows/build-darwin.yml
strategy:
matrix:
arch:
- amd64
- arm64
with:
output-artifact-name: lottie-to-png.darwin.${{ matrix.arch }}
arch: ${{ matrix.arch }}
test-darwin:
name: Test on Darwin
needs: build-darwin
uses: ./.github/workflows/test-darwin.yml
strategy:
matrix:
arch:
- amd64
- arm64
with:
input-artifact-name: lottie-to-png.darwin.${{ matrix.arch }}
output-artifact-name: test-results.darwin.${{ matrix.arch }}
arch: ${{ matrix.arch }}
build-windows:
name: Build Windows executable
uses: ./.github/workflows/build-windows.yml
with:
output-artifact-name: lottie-to-png.windows.amd64.exe
test-windows:
name: Test on Windows
needs: build-windows
uses: ./.github/workflows/test-windows.yml
with:
input-artifact-name: lottie-to-png.windows.amd64.exe
output-artifact-name: test-results.windows