-
Notifications
You must be signed in to change notification settings - Fork 7
66 lines (59 loc) · 1.55 KB
/
continuous-integration.yml
File metadata and controls
66 lines (59 loc) · 1.55 KB
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
---
name: Continuous Integration
on:
merge_group:
pull_request:
push:
branches: [main]
tags: ["v*.*.*"]
workflow_dispatch:
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build-push:
uses: ./.github/workflows/build-push.yml
secrets: inherit
permissions:
attestations: write
contents: write
id-token: write
packages: write
pull-requests: write
integration-test:
strategy:
matrix:
flavor: [cpp, rust]
runner: ["ubuntu-latest", "ubuntu-24.04-arm"]
needs: build-push
uses: ./.github/workflows/integration-test.yml
secrets: inherit
with:
flavor: ${{ matrix.flavor }}
runner: ${{ matrix.runner }}
acceptance-test:
needs: build-push
uses: ./.github/workflows/acceptance-test.yml
secrets: inherit
with:
flavor: cpp
publish-test-results:
runs-on: ubuntu-latest
permissions:
checks: write
pull-requests: write
needs: [acceptance-test, integration-test]
if: always()
steps:
- uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
merge-multiple: true
pattern: test-results-*
- uses: EnricoMi/publish-unit-test-result-action@3a74b2957438d0b6e2e61d67b05318aa25c9e6c6 # v2.20.0
with:
files: test-report-*.xml