From: Timo Heister Date: Wed, 8 Feb 2023 01:17:49 +0000 (-0500) Subject: CI: osx use gcc-11 to fix compilation X-Git-Tag: v9.4.2-r2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d262cf7afc0a979b1347c5cdef96905300a9bf3;p=candi.git CI: osx use gcc-11 to fix compilation test a a f --- diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4046897..70e3d93 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -97,24 +97,12 @@ jobs: - uses: actions/checkout@v3 - name: setup run: | - # Force cmake version 3.20.5 - pip install cmake==3.20.5 - echo "/Library/Frameworks/Python.framework/Versions/2.7/bin" >> $GITHUB_PATH - - # Update packages - brew update - brew upgrade - - # Install openmpi - brew install openmpi - - # Reinstall gcc - brew reinstall gcc@9 + brew install openmpi gcc@11 - name: info run: | # Export the compilers - export OMPI_CXX=g++-9; export OMPI_CC=gcc-9; export OMPI_FC=gfortran-9 + export OMPI_CXX=g++-11; export OMPI_CC=gcc-11; export OMPI_FC=gfortran-11 # Show compilers and cmake versions mpicc --version @@ -126,7 +114,7 @@ jobs: - name: build run: | # Export the compilers - export OMPI_CXX=g++-9; export OMPI_CC=gcc-9; export OMPI_FC=gfortran-9 + export OMPI_CXX=g++-11; export OMPI_CC=gcc-11; export OMPI_FC=gfortran-11 # Compile dealii in DEBUG mode only echo 'DEAL_II_CONFOPTS="-D CMAKE_BUILD_TYPE=Debug"' >> candi.cfg