9797 # try to install them anyways, so we save an apt-roundtrip.
9898 sudo aptitude -o Acquire::Retries=30 install gcc-multilib g++-multilib pkg-config libgmp-dev libgmp-dev:i386 libx11-dev:i386 -y
9999
100+ - name : macos fix
101+ if : runner.os == 'Macos'
102+ run : |
103+ brew update
104+ brew upgrade
105+ brew install pkgconf
106+ # work around https://github.com/actions/runner-images/issues/10984
107+
100108 - name : Checkout tree
101109 uses : actions/checkout@v4
102110
@@ -112,31 +120,13 @@ jobs:
112120 dune-cache : true
113121 opam-pin : false
114122
115- - name : Pin dune
116- run : |
117- opam pin add dune.3.17 https://github.com/ocaml/dune.git
118-
119123 - run : opam install conf-pkg-config
120124 if : runner.os == 'Windows'
121125
122126 - run : opam install . --best-effort
123127 if : ${{ matrix.skip-test }}
124128
125- - run : cat VERSION | xargs opam pin wasm_of_ocaml-compiler . -n --with-version
126- if : ${{ !matrix.skip-test }}
127- shell : bash
128-
129- - run : opam install conf-c++
130- # Otherwise, the next step fails reinstalling gcc while compiling
131- # other packages
132- if : ${{ !matrix.skip-test && runner.os == 'Windows' }}
133-
134- - run : opam install . --with-test --deps-only
135- # Install the test dependencies
136- if : ${{ !matrix.skip-test }}
137-
138- - run : opam install .
139- # Install the packages (without running the tests)
129+ - run : opam install . --with-test
140130 if : ${{ !matrix.skip-test }}
141131
142132 - run : opam exec -- make all
@@ -164,44 +154,4 @@ jobs:
164154 branch : wikidoc
165155 folder : doc-dev
166156 clean : true
167- target-folder : doc/dev/
168-
169- lint-opam :
170- runs-on : ubuntu-latest
171- steps :
172- - name : Checkout tree
173- uses : actions/checkout@v4
174- - name : Set-up OCaml
175- uses : ocaml/setup-ocaml@v3
176- with :
177- ocaml-compiler : " 5.2"
178- dune-cache : true
179- - name : Pin dune
180- run : |
181- opam pin add -n dune.3.17 https://github.com/ocaml/dune.git
182- - uses : ocaml/setup-ocaml/lint-opam@v3
183-
184- lint-fmt :
185- runs-on : ubuntu-latest
186- steps :
187- - name : Checkout tree
188- uses : actions/checkout@v4
189- - name : Set-up OCaml
190- uses : ocaml/setup-ocaml@v3
191- with :
192- ocaml-compiler : " 5.2"
193- dune-cache : true
194- - name : Pin dune
195- run : |
196- opam pin add -n dune.3.17 https://github.com/ocaml/dune.git
197- - uses : ocaml/setup-ocaml/lint-fmt@v3
198-
199- lint-runtime :
200- runs-on : ubuntu-latest
201- steps :
202- - name : Checkout tree
203- uses : actions/checkout@v4
204- - name : Set-up Biome
205- uses : biomejs/setup-biome@v2
206- - name : Run biome
207- run : biome ci
157+ target-folder : doc/dev/
0 commit comments