diff .github/workflows/make.yaml @ 29697:3ef50a8d01c5

GitHub-CI: Re-install gcc on macOS runners. * .github/workflows/make.yaml: It looks like we still need to reinstall gcc to get a working gfortran.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 21 May 2021 17:00:54 +0200
parents 1a251fdb97af
children 504fcc051d51
line wrap: on
line diff
--- a/.github/workflows/make.yaml	Fri May 21 16:15:14 2021 +0200
+++ b/.github/workflows/make.yaml	Fri May 21 17:00:54 2021 +0200
@@ -153,6 +153,9 @@
         uses: actions/checkout@v2
 
       - name: install dependencies
+        # It looks like "gfortran" isn't working correctly unless "gcc" is
+        # re-installed.
+
         # See also: https://formulae.brew.sh/formula/octave#default
         # The packages are listed in (alphabetically sorted) blocks:
         # The first block is for "direct" dependencies.
@@ -160,13 +163,14 @@
         # The third block is for additional dependencies needed when building from a repository checkout.
         run: |
           brew update
+          brew reinstall gcc
           brew install arpack epstool fftw fig2dev fltk fontconfig freetype \
-            gcc ghostscript gl2ps glpk gnuplot graphicsmagick hdf5 libsndfile \
+            ghostscript gl2ps glpk gnuplot graphicsmagick hdf5 libsndfile \
             libtool openblas pcre portaudio pstoedit qhull qrupdate \
             qscintilla2 qt@5 rapidjson readline suite-sparse sundials texinfo \
             ccache gnu-sed openjdk pkg-config \
             automake autoconf bison gettext icoutils librsvg mactex-no-gui
-            eval "$(/usr/libexec/path_helper)"
+          eval "$(/usr/libexec/path_helper)"
 
       - name: prepare ccache
         # create human readable timestamp