Skip to content

Commit

Permalink
Revert "try using cached opam switch."
Browse files Browse the repository at this point in the history
This reverts commit 96b66f4.

Revert "fix."

This reverts commit d9e688e.
  • Loading branch information
katrinafyi committed Oct 27, 2022
1 parent 934602a commit 6a5961f
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 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,25 +20,14 @@ jobs:
dune-cache: true

- name: Opam install
run: |
opam switch create new 4.09.0
wget https://github.com/katrinafyi/pac-environment/releases/download/opam/new.tar.gz
cd ~/.opam
tar xzf new.tar.gz
- name: Install dependencies
run: |
opam switch new
eval `opam env`
opam install . --deps-only --with-test
run: opam install . --deps-only --with-test

- 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 6a5961f

Please sign in to comment.