Skip to content

Commit

Permalink
CI: use ubuntu:24.04 and gcc-13 for other builds
Browse files Browse the repository at this point in the history
The `test_physics` test case has either a precision issue or a race
condition for the dephasing test when compiling with `gcc-12`.
This issue isn't present with `gcc-13` and `gcc-14`.
  • Loading branch information
Puerling committed Oct 15, 2024
1 parent 4e0c56c commit 1110385
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -491,13 +491,13 @@ jobs:
matrix:
include:
- configuration: "single-precision"
os: ubuntu-22.04
os: ubuntu-24.04
- configuration: "single-precision"
os: macos-13
- configuration: "single-precision"
os: windows-2022
- configuration: "pinning-and-defects"
os: ubuntu-22.04
os: ubuntu-24.04
env:
BUILD_TYPE: Release
CMAKE_FLAGS: >
Expand All @@ -515,18 +515,18 @@ jobs:
- name: 📚 Install python packages
run: pip install --user numpy

- name: Force upgrade to gcc-12 on Ubuntu 22.04
if: matrix.os == 'ubuntu-22.04'
- name: Force install of gcc-13 on Ubuntu 24.04
if: matrix.os == 'ubuntu-24.04'
shell: bash
run: |
sudo apt-get update
sudo apt-get --purge remove -y "g++*"
sudo apt-get install -y g++-12
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 10
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 10
sudo apt-get install -y g++-13
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 10
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 10
- name: 📚 Install required system packages
if: matrix.os == 'ubuntu-22.04'
if: matrix.os == 'ubuntu-24.04'
run: |
sudo apt-get update
sudo apt-get install -y xorg-dev libglu1-mesa-dev libgtk-3-dev
Expand Down

0 comments on commit 1110385

Please sign in to comment.