Skip to content

Commit

Permalink
Install tlapm by extracting it
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Helwer <[email protected]>
  • Loading branch information
ahelwer committed Oct 28, 2023
1 parent 39191e3 commit 6f60086
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,15 @@ jobs:
path: tlaplus-examples
- name: Check proofs in TLA+ examples
run: |
python tlaplus-examples/.github/scripts/check_proofs.py \
--tlapm_path _build/install/default \
--manifest_path tlaplus-examples/manifest.json
EXAMPLES_DIR=tlaplus-examples
mkdir $EXAMPLES_DIR/deps
cp ./_build/tlaps*.tar.gz $EXAMPLES_DIR/deps/tlaps.tar.gz
tar -xzf $EXAMPLES_DIR/deps/tlaps.tar.gz -C $EXAMPLES_DIR/deps
rm $EXAMPLES_DIR/deps/tlaps.tar.gz
mv $EXAMPLES_DIR/deps/tlaps* $EXAMPLES_DIR/deps/tlapm-install
python $EXAMPLES_DIR/.github/scripts/check_proofs.py \
--tlapm_path $EXAMPLES_DIR/deps/tlapm-install \
--manifest_path $EXAMPLES_DIR/manifest.json
- name: Run a subset of `tlapm` tests
run: |
eval $(opam env)
Expand Down

0 comments on commit 6f60086

Please sign in to comment.