Skip to content

Commit

Permalink
Merge pull request #192 from edgar-bonet/gcc-12
Browse files Browse the repository at this point in the history
linux_and_macos.yml: Use gcc-12 instead of gcc-11
  • Loading branch information
hartwork authored Aug 19, 2024
2 parents 3e0dcee + aa975fc commit 37c7100
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/linux_and_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,44 +23,38 @@ jobs:
matrix:
include:
- cc: gcc-14
cxx: g++-14
clang_major_version: null
clang_repo_suffix: null
make: make
runs-on: ubuntu-24.04
- cc: clang-18
cxx: clang++-18
clang_major_version: 18
clang_repo_suffix: -18
make: bmake
runs-on: ubuntu-22.04
- cc: musl-gcc
cxx: 'false'
clang_major_version: null
clang_repo_suffix: null
make: bmake
runs-on: ubuntu-22.04
- cc: gcc-11
cxx: g++-11
- cc: gcc-12
clang_major_version: null
clang_repo_suffix: null
make: make
runs-on: macos-12
- cc: gcc-13
cxx: g++-13
clang_major_version: null
clang_repo_suffix: null
make: bmake
runs-on: macos-12
- cc: clang-15
cxx: clang++-15
clang_major_version: 15
clang_repo_suffix: null
make: bsdmake
runs-on: macos-12
steps:
- name: Add Clang/LLVM repositories
if: "${{ runner.os == 'Linux' && contains(matrix.cxx, 'clang') }}"
if: "${{ runner.os == 'Linux' && contains(matrix.cc, 'clang') }}"
run: |-
set -x
source /etc/os-release
Expand All @@ -86,14 +80,14 @@ jobs:
coreutils
- name: Install build dependency Clang ${{ matrix.clang_major_version }}
if: "${{ runner.os == 'Linux' && contains(matrix.cxx, 'clang') }}"
if: "${{ runner.os == 'Linux' && contains(matrix.cc, 'clang') }}"
run: |-
sudo apt-get install --yes --no-install-recommends -V \
clang-${{ matrix.clang_major_version }} \
libclang-rt-${{ matrix.clang_major_version }}-dev
- name: Add versioned aliases for Clang ${{ matrix.clang_major_version }}
if: "${{ runner.os == 'macOS' && contains(matrix.cxx, 'clang') }}"
if: "${{ runner.os == 'macOS' && contains(matrix.cc, 'clang') }}"
run: |-
set -x
sudo ln -s "$(brew --prefix llvm@${{ matrix.clang_major_version }})"/bin/clang /usr/local/bin/clang-${{ matrix.clang_major_version }}
Expand Down Expand Up @@ -145,7 +139,6 @@ jobs:
- name: 'Build'
env:
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }}
MAKE: ${{ matrix.make }}
run: |-
set -x
Expand Down

0 comments on commit 37c7100

Please sign in to comment.