Skip to content

mlkem c all versions #3

mlkem c all versions

mlkem c all versions #3

Workflow file for this run

name: Build & Test C
on:
push:
branches: ["main", "dev"]
pull_request:
branches: ["main", "dev"]
workflow_dispatch:
merge_group:
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 }}
defaults:
run:
shell: bash
working-directory: libcrux-ml-kem/c
steps:
- uses: actions/checkout@v4
- name: πŸ”¨ Build
run: |
cmake -B build
cmake --build build
- name: πŸƒπŸ»β€β™€οΈ Test
run: ./build/Debug/ml_kem_test
- name: πŸ”¨ Build Release
run: |
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
- name: πŸƒπŸ»β€β™€οΈ Benchmark
run: ./build/Release/ml_kem_bench