-
Notifications
You must be signed in to change notification settings - Fork 1
63 lines (57 loc) · 2.1 KB
/
Copy pathtesting.yaml
File metadata and controls
63 lines (57 loc) · 2.1 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
---
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: 2026 The Linux Foundation
# Exercises the reusable workflows in this repository against three of the
# largest downstream Python consumers, in parallel, to prove the reusable
# workflows function end-to-end:
# * dependamerge (standard single-arch) -> build-test.yaml
# * lftools-uv (standard single-arch) -> build-test.yaml
# * python-nss-ng (multi-arch C build) -> build-test-multiarch.yaml
#
# The reusable workflows are referenced by LOCAL path so this always
# validates the current branch's workflows. The standard targets are
# checked out at their default/HEAD branch; the python-nss-ng leg is
# pinned to the v1.2.0 release commit (see ref: below).
name: 'Testing 🧪'
# yamllint disable-line rule:truthy
on:
workflow_dispatch:
pull_request:
branches: ['main']
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
permissions: {}
jobs:
# Standard single-arch consumers, fanned out in parallel via a matrix.
standard:
name: 'Standard'
strategy:
fail-fast: false
matrix:
repository:
- lfreleng-actions/dependamerge
- lfreleng-actions/lftools-uv
permissions:
contents: read
pull-requests: read # Reusable workflow reads PR metadata
uses: ./.github/workflows/build-test.yaml
with:
repository: ${{ matrix.repository }}
# Multi-arch C consumer (runs in parallel with the standard matrix).
#
# python-nss-ng provides the committed native setup script
# (.github/scripts/setup-nss.sh) consumed via the setup_script input.
# Pinned to the v1.2.0 release commit of the upstream repository.
multiarch:
name: 'Multi-Arch'
permissions:
contents: read
pull-requests: read # Reusable workflow reads PR metadata
uses: ./.github/workflows/build-test-multiarch.yaml
with:
repository: lfreleng-actions/python-nss-ng
ref: e6e197516189faac861f191a6a48f0e1d993ef3d # v1.2.0
make: true
make_args: 'deps-nss env-github-actions'
setup_script: '.github/scripts/setup-nss.sh'