Skip to content

Commit

Permalink
Add bertie extraction CI job.
Browse files Browse the repository at this point in the history
  • Loading branch information
maximebuyse committed Nov 13, 2024
1 parent 4291b19 commit d0ae075
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/bertie.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Extract Bertie

on:
pull_request:
merge_group:
workflow_dispatch:
push:
branches: [main]

env:
CARGO_TERM_COLOR: always

jobs:
extract-bertie:
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'merge_group' }}
runs-on: "ubuntu-latest"

steps:
- name: ⤵ Clone Bertie repository
uses: actions/checkout@v4
with:
repository: cryspen/bertie

- uses: actions/checkout@v4
with:
path: hax

- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

- name: ⤵ Install hax
run: |
nix profile install ./hax
- name: 🏃 Extract fstar
run: ./hax-driver.py extract-fstar

0 comments on commit d0ae075

Please sign in to comment.