Skip to content

Commit

Permalink
[CirrusCI] Update GCC compilers for Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison authored Jun 3, 2024
1 parent 4e33517 commit 0926b6d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
task:
matrix:
- name: FreeBSD
- name: Meson / freebsd/gcc-12
freebsd_instance:
image: freebsd-13-3-release-amd64
- name: MacOS M1
- name: Meson / macos-silicon/gcc-14
macos_instance:
image: ghcr.io/cirruslabs/macos-ventura-base:latest
dependencies_script: |
echo $(uname)
if [ "$(uname)" = "FreeBSD" ]; then
pkg install -y py39-pip meson bash gcc12
else
brew install python meson gcc
brew install python meson gcc@14
fi
configure_script: |
if [ "$(uname -s)" = "FreeBSD" ]; then
FC=gfortran12 CC=gcc12 CXX=g++12 meson setup builddir --prefix=${CIRRUS_WORKING_DIR}/../meson
else
FC=gfortran-13 CC=gcc-13 CXX=g++-13 meson setup builddir --prefix=${CIRRUS_WORKING_DIR}/../meson
FC=gfortran-14 CC=gcc-14 CXX=g++-14 meson setup builddir --prefix=${CIRRUS_WORKING_DIR}/../meson
fi
build_script: |
meson compile -C builddir
Expand Down

0 comments on commit 0926b6d

Please sign in to comment.