Do not depend on the unstable
Rust Toolchain
#38
Workflow file for this run
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: TurboSHAKE - Extendable Output Functions based on 12-rounds Keccak Permutation | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ${{matrix.os}} | |
strategy: | |
matrix: | |
# See https://docs.github.com/en/actions/writing-workflows/choosing-where-your-workflow-runs/choosing-the-runner-for-a-job#standard-github-hosted-runners | |
# for available targets. | |
os: [ | |
ubuntu-latest, # x86-64 | |
ubuntu-24.04-arm, # aarch64 | |
macos-latest, # aarch64 | |
macos-13, # x86_64 | |
windows-latest, # x86-64 | |
] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- name: Build and Test on ${{ matrix.os }} | |
run: cargo test | |
- name: Run Example on ${{ matrix.os }} | |
run: cargo run --example turboshake128 && cargo run --example turboshake256 |