-
Notifications
You must be signed in to change notification settings - Fork 153
53 lines (47 loc) · 1.23 KB
/
_downstream-test-common.yml
File metadata and controls
53 lines (47 loc) · 1.23 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
name: Downstream test (common)
on:
workflow_call:
inputs:
package:
type: string
required: true
needs_cmake:
type: boolean
required: false
default: false
needs_rust:
type: boolean
required: false
default: false
needs_uv:
type: boolean
required: false
default: false
permissions:
actions: read
contents: read
jobs:
downstream:
strategy:
fail-fast: false
matrix:
os:
- id: ubuntu-latest
platform: linux
arch: amd64
- id: macos-latest
platform: macos
arch: aarch64
runs-on: ${{ matrix.os.id }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Run downstream test
uses: ./.github/actions/downstream-test
with:
package: ${{ inputs.package }}
needs_cmake: ${{ inputs.needs_cmake }}
needs_rust: ${{ inputs.needs_rust }}
needs_uv: ${{ inputs.needs_uv }}
platform: ${{ matrix.os.platform }}
arch: ${{ matrix.os.arch }}
github_token: ${{ matrix.os.platform == 'macos' && secrets.GITHUB_TOKEN || '' }}