Skip to content

Commit 3eb7d72

Browse files
committed
fixing testing harness
1 parent a1f1aff commit 3eb7d72

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

.github/workflows/rust.yml

+15-12
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,16 @@ on:
1818
jobs:
1919
test-software-aes:
2020
name: Test of Software Impl on ${{ inputs.target }}
21-
uses: ./.github/workflows/runtest.yml
22-
with:
23-
target: ${{ inputs.target }}
24-
channel: ${{ inputs.channel }}
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: ./.github/workflows/runtest.yml
24+
with:
25+
target: ${{ inputs.target }}
26+
channel: ${{ inputs.channel }}
2527

2628
test-aesni:
27-
if: ${{ contains(inputs.target, '86') }}
29+
# simple test for x86(64)
30+
if: contains(inputs.target, '86')
2831
name: Test of AESNI on ${{ inputs.target }}
2932
uses: ./.github/workflows/runtest.yml
3033
with:
@@ -33,25 +36,25 @@ jobs:
3336
target-feature: ${{ format('CROSS_TARGET_{0}_RUSTFLAGS=+sse4.1,+aes', inputs.target-in-caps) }}
3437

3538
test-aesni-vaes:
36-
if: ${{ contains(inputs.target, '86') && inputs.channel == 'nightly' }}
39+
if: contains(inputs.target, '86') && inputs.channel == 'nightly'
3740
name: Test of AESNI with VAES on ${{ inputs.target }}
3841
uses: ./.github/workflows/runtest.yml
3942
with:
4043
target: ${{ inputs.target }}
41-
channel: ${{ inputs.channel }}
44+
channel: nightly
4245
target-feature: ${{ format('CROSS_TARGET_{0}_RUSTFLAGS=+vaes', inputs.target-in-caps) }}
4346

4447
test-aesni-vaes-avx512f:
45-
if: ${{ contains(inputs.target, '86') && inputs.channel == 'nightly' }}
48+
if: contains(inputs.target, '86') && inputs.channel == 'nightly'
4649
name: Test of AESNI with VAES and AVX-512 on ${{ inputs.target }}
4750
uses: ./.github/workflows/runtest.yml
4851
with:
4952
target: ${{ inputs.target }}
50-
channel: ${{ inputs.channel }}
53+
channel: nightly
5154
target-feature: ${{ format('CROSS_TARGET_{0}_RUSTFLAGS=+vaes,+avx512f', inputs.target-in-caps) }}
5255

5356
test-neon:
54-
if: ${{ startsWith(inputs.target, 'aarch64') || startsWith(inputs.target, 'arm64ec') || (startsWith(inputs.target, 'armv8') && inputs.channel == 'nightly') }}
57+
if: startsWith(inputs.target, 'aarch64') || startsWith(inputs.target, 'arm64ec') || (startsWith(inputs.target, 'armv8') && inputs.channel == 'nightly')
5558
name: Test of Neon on ${{ inputs.target }}
5659
uses: ./.github/workflows/runtest.yml
5760
with:
@@ -60,10 +63,10 @@ jobs:
6063
target-feature: ${{ format('CROSS_TARGET_{0}_RUSTFLAGS=+aes', inputs.target-in-caps) }}
6164

6265
test-riscv:
63-
if: ${{ startsWith(inputs.target, 'riscv') && inputs.channel == 'nightly' }}
66+
if: startsWith(inputs.target, 'riscv') && inputs.channel == 'nightly'
6467
name: Test of Neon on ${{ inputs.target }}
6568
uses: ./.github/workflows/runtest.yml
6669
with:
6770
target: ${{ inputs.target }}
68-
channel: ${{ inputs.channel }}
71+
channel: nightly
6972
target-feature: ${{ format('CROSS_TARGET_{0}_RUSTFLAGS=+zkne,+zknd', inputs.target-in-caps) }}

0 commit comments

Comments
 (0)