Skip to content

Commit

Permalink
Install graph-easy manually in CI because nothing works
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Feb 13, 2024
1 parent 4b58d45 commit ae5b2cf
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 16 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ jobs:
# otherwise setup-ocaml pins non-locked dependencies
# https://github.com/ocaml/setup-ocaml/issues/166
OPAMLOCKED: locked
OPAMWITHTEST: true
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
opam-depext-flags: --with-test
opam-depext-flags: --with-test # doesn't work

- name: Install graph-easy
run: sudo apt install -y libgraph-easy-perl

- name: Install dependencies
run: opam install . --deps-only --locked --with-test
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/locked.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ jobs:
# otherwise setup-ocaml pins non-locked dependencies
# https://github.com/ocaml/setup-ocaml/issues/166
OPAMLOCKED: locked
OPAMWITHTEST: true
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
opam-depext-flags: --with-test
opam-depext-flags: --with-test # doesn't work

- run: opam install . --dry-run --deps-only -ty | awk '/-> installed/{print $3}' | xargs opam depext -iy
- name: Install graph-easy
run: sudo apt install -y libgraph-easy-perl

- name: Install dependencies
run: opam install . --deps-only --locked --with-test
Expand Down Expand Up @@ -115,11 +115,13 @@ jobs:
# otherwise setup-ocaml pins non-locked dependencies
# https://github.com/ocaml/setup-ocaml/issues/166
OPAMLOCKED: locked
OPAMWITHTEST: true
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
opam-depext-flags: --with-test
opam-depext-flags: --with-test # doesn't work

- name: Install graph-easy
run: sudo apt install -y libgraph-easy-perl

- name: Install spin
run: sudo apt-get -y install spin
Expand Down
21 changes: 12 additions & 9 deletions .github/workflows/unlocked.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,13 @@ jobs:
uses: actions/checkout@v4

- name: Set up OCaml ${{ matrix.ocaml-compiler }}
env:
OPAMWITHTEST: true
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
opam-depext-flags: --with-test
opam-depext-flags: --with-test # doesn't work

- name: Install graph-easy
run: sudo apt install -y libgraph-easy-perl

- name: Install dependencies
run: opam install . --deps-only --with-test
Expand Down Expand Up @@ -142,12 +143,13 @@ jobs:
uses: actions/checkout@v4

- name: Set up OCaml ${{ matrix.ocaml-compiler }}
env:
OPAMWITHTEST: true
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
opam-depext-flags: --with-test
opam-depext-flags: --with-test # doesn't work

- name: Install graph-easy
run: sudo apt install -y libgraph-easy-perl

- name: Install dependencies
run: opam install . --deps-only --with-test
Expand Down Expand Up @@ -261,12 +263,13 @@ jobs:
uses: actions/checkout@v4

- name: Set up OCaml ${{ matrix.ocaml-compiler }}
env:
OPAMWITHTEST: true
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
opam-depext-flags: --with-test
opam-depext-flags: --with-test # doesn't work

- name: Install graph-easy
run: sudo apt install -y libgraph-easy-perl

- name: Install Goblint with test
run: opam install goblint --with-test
Expand Down

0 comments on commit ae5b2cf

Please sign in to comment.