Switch from derivative
to derive-where
#1642
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
on: | |
# Run the checks on the latest commit from `main` | |
push: | |
branches: | |
- main | |
# Run the check for any pull request. The check is run on a merge between the | |
# PR commit and the `main` branch at the time of running the check. | |
pull_request: | |
# Runs the check when a PR is added to the merge queue. | |
merge_group: | |
# Makes it possible to run the forkflow by hand from GItHub's interface. | |
workflow_dispatch: | |
# Cancel previous versions of this job that are still running. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
nix: | |
#runs-on: ubuntu-latest | |
runs-on: [self-hosted, linux, nix] | |
steps: | |
#- uses: cachix/install-nix-action@v22 | |
- uses: actions/checkout@v4 | |
- run: nix build -L .#charon | |
- run: nix build -L .#charon-ml | |
- run: nix flake check -L | |
check-version-number: | |
runs-on: [self-hosted, linux, nix] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # deep clone in order to get access to other commits | |
- run: nix develop --command ./scripts/ci-check-version-number.sh | |
aeneas: | |
needs: [nix] | |
runs-on: [self-hosted, linux, nix] | |
steps: | |
- run: | | |
nix flake check --refresh -L github:aeneasverif/aeneas \ | |
--override-input charon github:aeneasverif/charon/${{ github.sha }} \ | |
--override-input charon/rust-overlay github:oxalica/rust-overlay/master | |
eurydice: | |
needs: [nix] | |
runs-on: [self-hosted, linux, nix] | |
steps: | |
- run: | | |
nix flake check --refresh -L github:aeneasverif/eurydice \ | |
--override-input charon github:aeneasverif/charon/${{ github.sha }} \ | |
--override-input charon/rust-overlay github:oxalica/rust-overlay/master | |
kyber: | |
needs: [eurydice] | |
runs-on: [self-hosted, linux, nix] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: cryspen/libcrux | |
- run: | | |
nix develop --command cargo generate-lockfile | |
nix build --refresh -L '.#ml-kem' \ | |
--override-input charon github:aeneasverif/charon/${{ github.sha }} \ | |
--update-input charon/rust-overlay \ | |
--update-input eurydice \ | |
--update-input hax \ | |
--update-input crane |