Add support for Hacl_AES_128_GCM_NI and Hacl_AES_128_GCM_M32 #1371
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: rust | |
on: | |
push: | |
branches: | |
- main | |
- 'hacl-star-**' | |
paths-ignore: | |
- .gitignore | |
- CLA.md | |
- CODE_OF_CONDUCT.md | |
- CONTRIBUTING.md | |
- cpu-features.md | |
- LICENSE | |
- LICENSE-APACHE | |
- README.md | |
pull_request: | |
# Can't use an YAML anchor because "Anchors are not currently supported." (GitHub 12/07/2022) | |
paths-ignore: | |
- .gitignore | |
- CLA.md | |
- CODE_OF_CONDUCT.md | |
- CONTRIBUTING.md | |
- cpu-features.md | |
- LICENSE | |
- LICENSE-APACHE | |
- README.md | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
mach: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-cargo | |
- if: matrix.os == 'macos-latest' | |
run: brew install ninja | |
- if: matrix.os == 'ubuntu-latest' | |
run: sudo apt-get install ninja-build | |
- if: matrix.os == 'windows-latest' | |
uses: ilammy/msvc-dev-cmd@7315a94840631165970262a99c72cfb48a65d25d | |
- if: matrix.os == 'windows-latest' | |
run: choco install ninja | |
- name: Cargo update | |
working-directory: rust | |
run: cargo update | |
- name: Debug Build | |
run: ./mach build -l rust -v | |
- name: Release Build | |
run: ./mach build --release -l rust -v | |
- name: Test Debug | |
# FIXME: enable Windows tests | |
if: matrix.os != 'windows-latest' | |
run: cargo test --manifest-path rust/Cargo.toml | |
env: | |
MACH_BUILD: 1 | |
standalone: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-cargo | |
- if: matrix.os == 'macos-latest' | |
run: brew install ninja | |
- if: matrix.os == 'ubuntu-latest' | |
run: sudo apt-get install ninja-build | |
- if: matrix.os == 'windows-latest' | |
uses: ilammy/msvc-dev-cmd@7315a94840631165970262a99c72cfb48a65d25d | |
- if: matrix.os == 'windows-latest' | |
run: choco install ninja | |
- name: Cargo update | |
working-directory: rust | |
run: cargo update | |
- name: Debug Build | |
working-directory: rust | |
run: cargo build -v | |
- name: Release Build | |
working-directory: rust | |
run: cargo build --release -v | |
- name: Test Debug | |
working-directory: rust | |
run: cargo test -v |