|
@@ -0,0 +1,45 @@
|
|
1
|
+name: Test
|
|
2
|
+
|
|
3
|
+on:
|
|
4
|
+ push:
|
|
5
|
+ pull_request:
|
|
6
|
+
|
|
7
|
+jobs:
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+ Matrix:
|
|
11
|
+ runs-on: ubuntu-latest
|
|
12
|
+ name: '🧾 Generate Test matrix'
|
|
13
|
+ outputs:
|
|
14
|
+ matrix: ${{ steps.generate.outputs.matrix }}
|
|
15
|
+ steps:
|
|
16
|
+
|
|
17
|
+ - name: '🧰 Checkout'
|
|
18
|
+ uses: actions/checkout@v2
|
|
19
|
+
|
|
20
|
+ - id: generate
|
|
21
|
+ name: '🧾 generate_matrix.sh'
|
|
22
|
+ run: ./.github/generate_matrix.sh
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+ Test:
|
|
26
|
+ needs: Matrix
|
|
27
|
+ runs-on: ubuntu-20.04
|
|
28
|
+ strategy:
|
|
29
|
+ fail-fast: false
|
|
30
|
+ matrix:
|
|
31
|
+ design: ${{ fromJson(needs.Matrix.outputs.matrix) }}
|
|
32
|
+ name: '🛳️ Test · ${{ matrix.design }}'
|
|
33
|
+ steps:
|
|
34
|
+
|
|
35
|
+ - name: '🧰 Checkout'
|
|
36
|
+ uses: actions/checkout@v1
|
|
37
|
+ with:
|
|
38
|
+ submodules: recursive
|
|
39
|
+
|
|
40
|
+ - name: '🛳️ Execute make ${{ matrix.design }} in hdlc/formal:all'
|
|
41
|
+ uses: docker://hdlc/formal:all
|
|
42
|
+ with:
|
|
43
|
+ args: make ${{ matrix.design }}
|
|
44
|
+ env:
|
|
45
|
+ BUILD_NAME: ACCEPTANCE
|