Skip to content

Commit

Permalink
try using cached opam switch.
Browse files Browse the repository at this point in the history
  • Loading branch information
katrinafyi committed Oct 21, 2022
1 parent 530d57c commit 96b66f4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test partial eval
on:
push:
branches:
- partial_eval
- partial_eval
workflow_dispatch:

jobs:
Expand All @@ -20,14 +20,19 @@ jobs:
dune-cache: true

- name: Opam install
run: opam install . --deps-only --with-test
run: |
opam switch create new 4.09.0
wget https://github.com/katrinafyi/pac-environment/releases/download/opam/new.tar.gz
tar xzf new.tar.gz
mv new ~/.opam
- name: Extract encodings
run: tar xzf encodings.tar.gz

- name: Build and test
id: test
run: |
opam switch new
eval `opam config env`
export LD_LIBRARY_PATH=`opam config var z3:lib`
dune build
Expand Down

0 comments on commit 96b66f4

Please sign in to comment.