Skip to content

Commit

Permalink
CI: trying to fix autoconf dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Kakadu <Kakadu@pm.me>
  • Loading branch information
Kakadu committed Aug 16, 2023
1 parent d484a16 commit 9361e13
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/master_docker.yml
Expand Up @@ -30,31 +30,23 @@ jobs:
with:
access_token: ${{ github.token }}

- run: sudo apt-get update -y

# checking out the code seems to be important because local switch is used
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0 # fix me later

# - name: Use OCaml ${{ matrix.ocaml-compiler }}
# #uses: ocaml/setup-ocaml@v2
# uses: ocaml/setup-ocaml@5319ab427f3840efb109b436a4e6f047dcd9db9f
# # working around issue with depext and opam 2.1
# with:
# ocaml-compiler: ${{ matrix.ocaml-compiler }}
# dune-cache: true
# By some reason depext doesn't install it for conf-autoconf
- run: |
sudo apt-get update -y
sudo apt-get install autoconf -y
# checking out the code seems to be important because local switch is used
- name: Installing dependencies
run: |
opam pin add ./ -n
opam depext zanuda reviewer -y
opam install . --deps-only --with-test --with-doc
- name: Building...
run: |
opam exec -- dune build
run: opam exec -- dune build --profile=release

- run: opam exec -- dune build @install --profile=release

Expand Down

0 comments on commit 9361e13

Please sign in to comment.