Refactor CI #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
style: | |
name: Check Style | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup update --no-self-update | |
- name: Rustfmt Check | |
run: cargo fmt --all --check | |
test-aesni: | |
strategy: | |
fail-fast: false | |
matrix: | |
channel: [ stable, beta, nightly ] | |
target: | |
- x86_64-unknown-linux-gnu | |
- i686-unknown-linux-gnu | |
uses: ./.github/workflows/runtest.yml | |
with: | |
target: ${{ matrix.target }} | |
channel: ${{ matrix.channel }} | |
target-features: +sse4.1,+aes | |
test-aesni-vaes: | |
strategy: | |
fail-fast: false | |
matrix: | |
target: | |
- x86_64-unknown-linux-gnu | |
- i686-unknown-linux-gnu | |
uses: ./.github/workflows/runtest.yml | |
with: | |
target: ${{ matrix.target }} | |
channel: nightly | |
target-features: +vaes | |
extra-features: --features=nightly | |
test-aesni-vaes-avx512: | |
strategy: | |
fail-fast: false | |
matrix: | |
target: | |
- x86_64-unknown-linux-gnu | |
- i686-unknown-linux-gnu | |
uses: ./.github/workflows/runtest.yml | |
with: | |
target: ${{ matrix.target }} | |
channel: nightly | |
target-features: +vaes,+avx512f | |
extra-features: --features=nightly | |
test-neon: | |
strategy: | |
fail-fast: false | |
matrix: | |
channel: [ stable, beta, nightly ] | |
uses: ./.github/workflows/runtest.yml | |
with: | |
target: aarch64-unknown-linux-gnu | |
channel: ${{ matrix.channel }} | |
target-features: +aes | |
test-armv8: | |
strategy: | |
fail-fast: false | |
matrix: | |
target: | |
- armv7-unknown-linux-gnueabihf | |
- armv7-unknown-linux-gnueabi | |
- thumbv7neon-unknown-linux-gnueabihf | |
uses: ./.github/workflows/runtest.yml | |
with: | |
target: armv7-unknown-linux-gnueabihf | |
channel: nightly | |
target-features: +v8,+aes | |
extra-features: --features=nightly | |
test-riscv64: | |
uses: ./.github/workflows/runtest.yml | |
with: | |
target: riscv64gc-unknown-linux-gnu | |
channel: nightly | |
target-features: +zkne,+zknd | |
extra-features: --features=nightly | |
test-software: | |
strategy: | |
fail-fast: false | |
matrix: | |
channel: [ stable, beta, nightly ] | |
target: | |
- x86_64-unknown-linux-gnu | |
- i686-unknown-linux-gnu | |
- aarch64-unknown-linux-gnu | |
- armv7-unknown-linux-gnueabi | |
- armv7-unknown-linux-gnueabihf | |
- thumbv7neon-unknown-linux-gnueabihf | |
- riscv64gc-unknown-linux-gnu | |
- powerpc-unknown-linux-gnu | |
- powerpc64-unknown-linux-gnu | |
- powerpc64le-unknown-linux-gnu | |
- s390x-unknown-linux-gnu | |
- i586-unknown-linux-gnu | |
- sparc64-unknown-linux-gnu | |
extra-features: | |
- '' | |
- --features=constant-time | |
uses: ./.github/workflows/runtest.yml | |
with: | |
target: ${{ matrix.target }} | |
channel: ${{ matrix.channel }} | |
extra-features: ${{ matrix.extra-features }} |