Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,6 @@ jobs:
path: _opam
key: opam-${{ runner.os }}-${{ runner.arch }}-fstar1-${{ github.run_id }}

- name: Setup environment
run: |
echo "KRML_HOME=$(pwd)/karamel" >> $GITHUB_ENV
echo "EVERPARSE_USE_KRML_HOME=1" >> $GITHUB_ENV
echo "ADMIT=1" >> $GITHUB_ENV

- name: Restore EverParse cache if it exists
uses: actions/cache/restore@v4
with:
Expand All @@ -187,9 +181,18 @@ jobs:
export OCAMLRUNPARAM=b
OTHERFLAGS='--admit_smt_queries true' make -kj$(nproc)

# KRML_EXE must be set for EverParse, but not when building krmllib
# as part of Karamel, so we set it only here
- name: Setup environment
run: |
echo "KRML_EXE=$(pwd)/karamel/out/bin/krml" >> $GITHUB_ENV
echo "EVERPARSE_USE_KRML_EXE=1" >> $GITHUB_ENV
echo "ADMIT=1" >> $GITHUB_ENV

- name: Generate CBOR and COSE .krml files
working-directory: everparse
run: |
rm -rf opt/karamel && touch opt/karamel &&
git pull && make cbor-extract-krml cose-extract-krml -kj$(nproc)

# Paranoid delete before saving. Note: run_id is constant across reruns.
Expand Down
Loading