Skip to content

Commit 37d6024

Browse files
authored
ci: update package listing before job (ocaml#12031)
Signed-off-by: Ali Caglayan <[email protected]>
1 parent 0153f76 commit 37d6024

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/workflow.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
- ocaml-compiler: "ocaml-variants.4.14.2+options,ocaml-option-32bit"
5858
os: ubuntu-latest
5959
skip_test: true
60+
apt_update: true
6061
## macos (Apple Silicon)
6162
- ocaml-compiler: 4.14.x
6263
os: macos-latest
@@ -88,6 +89,12 @@ jobs:
8889
git config --global user.name github-actions[bot]
8990
git config --global user.email github-actions[bot]@users.noreply.github.com
9091
92+
# The 32 bit gcc/g++ packages are by default out-of-date so we need to
93+
# manually update our package listing.
94+
- name: Update apt package listing
95+
if: ${{ matrix.apt_update == true }}
96+
run: sudo apt update
97+
9198
# Install ocamlfind-secondary and ocaml-secondary-compiler, if needed
9299
- run: opam install ./dune.opam --deps-only --with-test
93100

0 commit comments

Comments
 (0)