Test containerised build on Linux with g++14 toolchain.

master
Beq 2025-08-15 14:22:21 +01:00
parent 0c6c8c71f3
commit a43c11bbaa
1 changed files with 13 additions and 6 deletions

View File

@ -38,6 +38,9 @@ jobs:
os: [macos-15,ubuntu-24.04,windows-2022]
grid: [sl,os]
variant: [regular, avx]
include:
- os: ubuntu-24.04
container_image: ubuntu:22.04 # only Linux uses a container
runs-on: ${{ matrix.os }}
outputs:
viewer_channel: ${{ steps.channel.outputs.viewer_channel }}
@ -101,12 +104,16 @@ jobs:
with:
swap-storage: false
# - name: Set gcc version on Linux
# if: runner.os == 'Linux'
# run: |
# echo "CC=gcc-10" >> $GITHUB_ENV
# echo "CXX=g++-10" >> $GITHUB_ENV
- name: Install GCC-14
if: runner.os == 'Linux'
run: |
apt-get update
apt-get install -y software-properties-common
add-apt-repository -y ppa:ubuntu-toolchain-r/test
apt-get update
apt-get install -y gcc-14 g++-14
echo "CC=gcc-14" >> $GITHUB_ENV
echo "CXX=g++-14" >> $GITHUB_ENV
- name: Setup rclone and download the folder
uses: beqjanus/setup-rclone@main