File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -62,26 +62,20 @@ jobs:
6262 cd ..
6363 rm -rf musl-zstd
6464
65- - name : Show disk usage
66- run : |
67- # For debugging only!
68- curl -L 'https://github.com/bootandy/dust/releases/download/v1.2.3/dust-v1.2.3-x86_64-unknown-linux-gnu.tar.gz' | tar -xz --strip-components=1
69- chmod +x ./dust
70- sudo ./dust --no-progress /
71-
7265 - name : Use OCaml ${{ matrix.ocaml-version }}
7366 run : |
7467 sudo wget -O /usr/local/bin/opam https://github.com/ocaml/opam/releases/download/2.1.2/opam-2.1.2-x86_64-linux
7568 sudo chmod a+x /usr/local/bin/opam
7669
7770 export OPAMYES=1
7871 export OPAMJOBS=$(($(nproc) + 2))
72+ export CC=musl-gcc
7973 echo "OPAMYES=1" >> "$GITHUB_ENV"
8074 echo "OPAMJOBS=$OPAMJOBS" >> "$GITHUB_ENV"
81- rm -rf /tmp/* >/dev/null 2>&1 || true
75+ echo "CC=musl-gcc" >> "$GITHUB_ENV"
8276
8377 opam init --bare -yav https://github.com/ocaml/opam-repository.git
84- opam switch create ${{ matrix.ocaml-version }} --repos ox=git+https://github.com/oxcaml/opam-repository.git,default --packages=ocaml-variants.${{ matrix.ocaml-version }}+options,ocaml-option-musl
78+ opam switch create ${{ matrix.ocaml-version }} --repos ox=git+https://github.com/oxcaml/opam-repository.git,default
8579
8680 opam switch set ${{ matrix.ocaml-version }}
8781
You can’t perform that action at this time.
0 commit comments