-
Notifications
You must be signed in to change notification settings - Fork 6
44 lines (41 loc) · 1.09 KB
/
on-pr-opt.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
# Optional PR checks
name: On PR - Optional
on:
workflow_dispatch:
pull_request:
branches: ["main"]
jobs:
build-tests:
secrets: inherit
strategy:
fail-fast: false
matrix:
test-group: [
{arch: grayskull},
{arch: wormhole_b0},
{arch: blackhole},
]
uses: ./.github/workflows/build-tests.yml
with:
arch: ${{ matrix.test-group.arch}}
timeout: 15
test-all:
secrets: inherit
needs: build-tests
strategy:
fail-fast: false
matrix:
test-group: [
{arch: grayskull, card: e75, timeout: 10},
{arch: grayskull, card: e150, timeout: 10},
{arch: grayskull, card: e300, timeout: 10},
{arch: wormhole_b0, card: n150, timeout: 5},
{arch: wormhole_b0, card: n300, timeout: 15},
# Enable once we have functional cards.
# {arch: blackhole},
]
uses: ./.github/workflows/run-tests.yml
with:
arch: ${{ matrix.test-group.arch}}
card: ${{ matrix.test-group.card}}
timeout: ${{ matrix.test-group.timeout}}