Skip to content

Commit

Permalink
gha: Don't pull lwt packages when building async packages
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterDA committed Jun 20, 2024
1 parent ba94481 commit 6843ef4
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ jobs:
opam-local-packages: ${{ matrix.local-packages }}

- run: |
sudo apt update
sudo apt upgrade
sudo apt-get update && sudo apt-get upgrade
opam depext conf-libcurl
if: ${{ matrix.os == 'ubuntu-latest' }}
Expand All @@ -81,6 +80,12 @@ jobs:
local-packages:
- |
*.opam
!cohttp-mirage.opam
!cohttp-curl-lwt.opam
!cohttp-lwt-jsoo.opam
!cohttp-lwt-unix.opam
!cohttp-lwt.opam
!cohttp-server-lwt-unix.opam
!cohttp-eio.opam
!cohttp-bench.opam
Expand All @@ -100,17 +105,16 @@ jobs:
opam-local-packages: ${{ matrix.local-packages }}

- run: |
sudo apt update
sudo apt upgrade
sudo apt-get update && sudo apt-get upgrade
opam depext conf-libcurl
if: ${{ matrix.os == 'ubuntu-latest' }}
- run: echo "PKG_CONFIG_PATH=$(brew --prefix openssl)/lib/pkgconfig" >>"$GITHUB_ENV"
if: ${{ matrix.os == 'macos-latest' }}

- run: opam install --with-test --deps-only http cohttp cohttp-lwt cohttp-lwt-unix cohttp-server-lwt-unix cohttp-async cohttp-curl-async cohttp-mirage cohttp-curl-lwt cohttp-curl cohttp-top
- run: opam exec -- dune build http cohttp cohttp-lwt cohttp-lwt-unix cohttp-server-lwt-unix cohttp-async cohttp-curl-async cohttp-mirage cohttp-curl-lwt cohttp-curl cohttp-top
- run: opam exec -- dune runtest http cohttp cohttp-lwt cohttp-lwt-unix cohttp-server-lwt-unix cohttp-async cohttp-curl-async cohttp-mirage cohttp-curl-lwt cohttp-curl cohttp-top
- run: opam install --with-test --deps-only http cohttp cohttp-async cohttp-curl-async cohttp-curl cohttp-top
- run: opam exec -- dune build http cohttp cohttp-async cohttp-curl-async cohttp-curl cohttp-top
- run: opam exec -- dune runtest http cohttp cohttp-async cohttp-curl-async cohttp-curl cohttp-top

build-test-cohttp-eio:
if: github.event.pull_request.draft == false
Expand Down

0 comments on commit 6843ef4

Please sign in to comment.