Skip to content

CI for ML-DSA C code #2115

CI for ML-DSA C code

CI for ML-DSA C code #2115

Workflow file for this run

name: Specs
on:
push:
branches: [ "main", "dev" ]
pull_request:
branches: [ "main", "dev" ]
merge_group:
env:
CARGO_TERM_COLOR: always
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- name: Setup Ubuntu
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install ninja-build
- name: Setup MacOS
if: matrix.os == 'macos-latest'
run: brew install ninja
- name: Setup Windows
if: matrix.os == 'windows-latest'
run: |
echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
vcpkg install openssl:x64-windows-static-md
- uses: actions/checkout@v3
- name: Update dependencies
run: cargo update
- name: Build
working-directory: specs
run: cargo build --verbose
- name: Run tests
working-directory: specs
run: cargo test --verbose