-
Notifications
You must be signed in to change notification settings - Fork 7
34 lines (31 loc) · 920 Bytes
/
ci.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
name: CI
on: ['push', 'release']
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
container-build:
name: 'Build container images'
uses: ./.github/workflows/job-container-image-build.yml
container-cleanup:
name: 'Clean up container images'
uses: ./.github/workflows/job-container-image-cleanup.yml
lint:
name: 'Lint the repository'
uses: ./.github/workflows/job-lint.yml
test:
name: 'Run tests and lint artifacts'
needs:
- container-build
- lint
secrets: inherit
strategy:
fail-fast: false # Run the whole matrix for maximum information. No matter if we fail with one job early.
matrix:
os:
- 'macOS-latest'
- 'ubuntu-latest'
- 'windows-latest'
uses: ./.github/workflows/job-test.yml
with:
os: ${{ matrix.os }}