From 4287099f06f522f632b1a98b76d8387a7a8bd778 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Tue, 4 Oct 2022 20:21:40 +0800 Subject: ci: run `brew update` before `brew install` This makes sure we don't end up picking up an older version of LLVM that does not work. --- .github/workflows/macos.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index d8797b881..b6aa8434a 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -67,6 +67,8 @@ jobs: steps: - uses: actions/checkout@v2 + # Avoid picking up an older version of LLVM that does not work. + - run: brew update # use python3 from homebrew because it is a valid framework, unlike the actions one: # https://github.com/actions/setup-python/issues/58 - run: brew install pkg-config ninja llvm qt@5 boost ldc hdf5 openmpi lapack scalapack sdl2 python3 boost-python3 gtk-doc -- cgit v1.2.3