Skip to content

Workflow file for this run

on:
push:
workflow_dispatch:
jobs:
# This would be nicer as a matrix, but that hits limits of what github actions can currenctly express. See e.g.:
# - https://github.com/orgs/community/discussions/17245
# - https://github.com/orgs/community/discussions/26640
# - https://github.com/actions/runner/pull/2477
hax:
runs-on: [self-hosted, linux, nix]
steps:
- name: checkout
uses: actions/checkout@v4
- run: nix build -L --no-link ".#hax"
charon:
runs-on: [self-hosted, linux, nix]
steps:
- name: checkout
uses: actions/checkout@v4
- run: nix build -L --no-link ".#charon"
eurydice:
runs-on: [self-hosted, linux, nix]
steps:
- name: checkout
uses: actions/checkout@v4
- run: nix build -L --no-link ".#eurydice"
ml-kem:
runs-on: [self-hosted, linux, nix]
steps:
- name: checkout
uses: actions/checkout@v4
# - run: nix build -L --no-link ".#ml-kem"
- run: false
bertie:
runs-on: [self-hosted, linux, nix]
steps:
- name: checkout
uses: actions/checkout@v4
- run: nix build -L --no-link ".#bertie"
complete:
needs: [hax, charon, eurydice, ml-kem, bertie]
runs-on: [self-hosted, linux, nix]
if: ${{ success() || failure() }}
steps:
- env:
RESULTS: ${{ toJSON(needs) }}
run: |
echo $RESULTS | nix shell nixpkgs#jq --command jq