-
Notifications
You must be signed in to change notification settings - Fork 7
62 lines (58 loc) · 1.53 KB
/
on-push.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: On Push
on:
workflow_dispatch:
push:
branches: [ "main" ]
jobs:
build-all:
secrets: inherit
strategy:
fail-fast: false
matrix:
test-group: [
{ arch: grayskull },
{ arch: wormhole_b0 },
{ arch: blackhole },
]
uses: ./.github/workflows/build-target.yml
with:
arch: ${{ matrix.test-group.arch }}
timeout: 10
build-target: umd_device
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 }}