From bfc9a3ad93657a8073fe8f2139a7b35f5cfc1b8b Mon Sep 17 00:00:00 2001 From: Antoine Pouille Date: Tue, 2 Apr 2024 15:46:38 +0200 Subject: [PATCH] Simplify install of pinned libs in CI --- .github/workflows/ci.yml | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 646f8cc58..994f96134 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,9 +28,7 @@ jobs: texlive-latex-extra opam depext --install --yes dune odoc camlp-streams \ ${{ matrix.additional-packages }} - cd pinned_libs/default - opam install --yes . --deps-only - cd ../.. + opam install --yes pinned_libs/default --deps-only - name: Make Kappa run: opam exec -- make all - name: Make documentation @@ -61,9 +59,7 @@ jobs: sudo apt-get install --yes gnuplot-nox \ poppler-utils graphviz texlive-latex-recommended \ texlive-fonts-recommended texlive-pictures tex4ht - cd pinned_libs/default - opam install --yes . --deps-only - cd ../.. + opam install --yes pinned_libs/default --deps-only pip install nose - name: Make Kappa run: | @@ -93,9 +89,7 @@ jobs: texlive-fonts-recommended texlive-pictures tex4ht - name: Install OPAM dependencies run: | - cd pinned_libs/default - opam install --yes . --deps-only - cd ../.. + opam install --yes pinned_libs/default --deps-only - name: Make Kappa run: opam exec -- make all - name: Make Javascript app @@ -124,9 +118,7 @@ jobs: ocaml-compiler: 4.13.x - name: Install OPAM dependencies run: | - cd pinned_libs/default - opam install --yes . --deps-only - cd ../.. + opam install --yes pinned_libs/default --deps-only - name: Make Kappa run: opam exec -- make all - name: Make MacOS app @@ -157,9 +149,7 @@ jobs: ocaml-compiler: 4.14.x - name: Install OPAM dependencies run: | - cd pinned_libs/windows - opam install --yes . --deps-only - cd ../.. + opam install --yes pinned_libs/windows --deps-only - name: Make Kappa run: opam exec -- make all - name: Make Windows app