Skip to content

Commit

Permalink
feat(ci/hax): install with Nix to safe ~12 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
W95Psp committed Feb 5, 2024
1 parent fdbe548 commit 7a77b24
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/hax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ jobs:
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

- name: 🔨 OCaml Setup
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 4.14.1

- name: ⤵ Install FStar
run: nix profile install github:FStarLang/FStar/v2024.01.13

Expand All @@ -55,12 +50,11 @@ jobs:
repository: hacspec/hacspec-v2
path: hax

- name: 🔨 Setup hax
working-directory: hax
- name: ⤵ Install hax
run: |
sudo apt-get update
sudo apt-get install --yes nodejs
./setup.sh
nix profile install nixpkgs#cachix
cachix use hax
nix profile install ./hax
- name: 🏃 Extract the Kyber reference code
run: |
Expand Down

0 comments on commit 7a77b24

Please sign in to comment.