Skip to content

Commit 3daaa36

Browse files
committed
fixed testing harness, added testing support for tier 1 targets and tier 2 with Host Tools, todo: tier 2 without host tools, but careful for 256 jobs quota
1 parent ab98836 commit 3daaa36

File tree

4 files changed

+42
-21
lines changed

4 files changed

+42
-21
lines changed

.github/workflows/arm.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,9 @@ on:
1111

1212
jobs:
1313
test-software:
14-
strategy:
15-
fail-fast: false
16-
matrix:
17-
channel: [ stable, beta, nightly ]
18-
name: Test of Software AES on ${{ inputs.target }} with ${{ matrix.channel }}
19-
uses: ./.github/workflows/runtest.yml
14+
uses: ./.github/workflows/other.yml
2015
with:
2116
target: ${{ inputs.target }}
22-
channel: ${{ matrix.channel }}
2317

2418
test-neon:
2519
strategy:

.github/workflows/common.yml

+39
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,30 @@ jobs:
3232
fail-fast: false
3333
matrix:
3434
target:
35+
# Tier 1
3536
- triple: x86_64-unknown-linux-gnu
3637
caps: X86_64_UNKNOWN_LINUX_GNU
38+
- triple: x86_64-pc-windows-gnu
39+
caps: X86_64_PC_WINDOWS_GNU
40+
- triple: x86_64-pc-windows-msvc
41+
caps: X86_64_PC_WINDOWS_MSVC
42+
- triple: x86_64-apple-darwin
43+
caps: X86_64_APPLE_DARWIN
44+
- triple: i686-unknown-linux-gnu
45+
caps: I686_UNKNOWN_LINUX_GNU
46+
- triple: i686-pc-windows-gnu
47+
caps: I686_PC_WINDOWS_GNU
48+
- triple: i686-pc-windows-msvc
49+
caps: I686_PC_WINDOWS_MSVC
50+
#Tier 2 with Host Tools
51+
- triple: x86_64-unknown-freebsd
52+
caps: X86_64_UNKNOWN_FREEBSD
53+
- triple: x86_64-unknown-illumos
54+
caps: X86_64_UNKNOWN_ILLUMOS
55+
- target: x86_64-unknown-linux-musl
56+
caps: X86_64_UNKNOWN_LINUX_MUSL
57+
- target: x86_64-unknown-netbsd
58+
caps: X86_64_UNKNOWN_NETBSD
3759
uses: ./.github/workflows/x86.yml
3860
with:
3961
target: ${{ matrix.target.triple }}
@@ -44,8 +66,16 @@ jobs:
4466
fail-fast: false
4567
matrix:
4668
target:
69+
# Tier 1
4770
- triple: aarch64-unknown-linux-gnu
4871
caps: AARCH64_UNKNOWN_LINUX_GNU
72+
# Tier 2 with Host Tools
73+
- triple: aarch64-apple-darwin
74+
caps: AARCH64_APPLE_DARWIN
75+
- triple: aarch64-pc-windows-msvc
76+
caps: AARCH64_PC_WINDOWS_MSVC
77+
- triple: aarch64-unknown-linux-musl
78+
caps: AARCH64_UNKNOWN_LINUX_MUSL
4979
uses: ./.github/workflows/arm.yml
5080
with:
5181
target: ${{ matrix.target.triple }}
@@ -56,6 +86,7 @@ jobs:
5686
fail-fast: false
5787
matrix:
5888
target:
89+
# Tier 2 with Host Tools
5990
- triple: riscv64gc-unknown-linux-gnu
6091
caps: RISCV64GC_UNKNOWN_LINUX_GNU
6192
uses: ./.github/workflows/riscv.yml
@@ -68,7 +99,15 @@ jobs:
6899
fail-fast: false
69100
matrix:
70101
target:
102+
# Tier 2 with Host Tools
103+
- arm-unknown-linux-gnueabi
104+
- arm-unknown-linux-gnueabihf
105+
- armv7-unknown-linux-gnueabihf
106+
- loongarch64-unknown-linux-gnu
107+
- powerpc-unknown-linux-gnu
71108
- powerpc64-unknown-linux-gnu
109+
- powerpc64le-unknown-linux-gnu
110+
- s390x-unknown-linux-gnu
72111
uses: ./.github/workflows/other.yml
73112
with:
74113
target: ${{ matrix.target }}

.github/workflows/riscv.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,9 @@ on:
1111

1212
jobs:
1313
test-software:
14-
strategy:
15-
fail-fast: false
16-
matrix:
17-
channel: [ stable, beta, nightly ]
18-
name: Test of Software AES on ${{ inputs.target }} with ${{ matrix.channel }}
19-
uses: ./.github/workflows/runtest.yml
14+
uses: ./.github/workflows/other.yml
2015
with:
2116
target: ${{ inputs.target }}
22-
channel: ${{ matrix.channel }}
2317

2418
test-riscv:
2519
name: Test of RISC-V on ${{ inputs.target }}

.github/workflows/x86.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,9 @@ on:
1111

1212
jobs:
1313
test-software:
14-
strategy:
15-
fail-fast: false
16-
matrix:
17-
channel: [ stable, beta, nightly ]
18-
name: Test of Software AES on ${{ inputs.target }} with ${{ matrix.channel }}
19-
uses: ./.github/workflows/runtest.yml
14+
uses: ./.github/workflows/other.yml
2015
with:
2116
target: ${{ inputs.target }}
22-
channel: ${{ matrix.channel }}
2317

2418
test-aesni:
2519
strategy:

0 commit comments

Comments
 (0)