-
Notifications
You must be signed in to change notification settings - Fork 6
47 lines (44 loc) · 1.22 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
45
46
47
# 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: [
# Enable once we have functional cards with specified architecture.
# { arch: grayskull },
{ arch: wormhole_b0 },
# { arch: blackhole },
]
uses: ./.github/workflows/build-target.yml
with:
arch: ${{ matrix.test-group.arch }}
timeout: 10
build-target: umd_tests
upload-artifacts: true
test-all:
secrets: inherit
needs: build-tests
strategy:
fail-fast: false
matrix:
test-group: [
# Enable once we have functional cards.
# { arch: grayskull, card: e75 },
# { arch: grayskull, card: e150 },
# { arch: grayskull, card: e300 },
{ arch: wormhole_b0, card: n150, timeout: 5 },
{ arch: wormhole_b0, card: n300, timeout: 15 },
# { arch: blackhole },
]
uses: ./.github/workflows/run-tests.yml
with:
arch: ${{ matrix.test-group.arch }}
card: ${{ matrix.test-group.card }}
timeout: ${{ matrix.test-group.timeout }}