Skip to content

Commit

Permalink
update to gcc-14
Browse files Browse the repository at this point in the history
  • Loading branch information
arahlin committed Aug 27, 2024
1 parent 8736835 commit 71ec008
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
#os: [ubuntu-18.04, ubuntu-20.04, macOS-latest]
os: [ubuntu-latest]
os: [ubuntu-24.04]
runs-on: ${{ matrix.os}}

steps:
Expand All @@ -27,11 +27,10 @@ jobs:
run: |
if [ `echo ${{matrix.os}} | cut -d - -f 1` = "ubuntu" ]; then
sudo apt-get --allow-releaseinfo-change update -y
sudo apt install software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo add-apt-repository universe
sudo apt update
sudo apt install gcc-13 g++-13 -y
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 13 --slave /usr/bin/g++ g++ /usr/bin/g++-13
sudo apt install gcc-14 g++-14 -y
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 14 --slave /usr/bin/g++ g++ /usr/bin/g++-14
sudo apt-get install libbz2-dev libboost-all-dev libflac-dev libnetcdf-dev
elif [ `echo ${{matrix.os}} | cut -d - -f 1` = "macOS" ]; then
brew install bzip2 boost boost-python3 flac netcdf
Expand Down

0 comments on commit 71ec008

Please sign in to comment.