fix(gpu): install gcc requested by the workflow

This commit is contained in:
Andrei Stoian
2025-07-31 15:04:32 +02:00
committed by Agnès Leroy
parent 0b3ea4be9e
commit e89d2f8b05

View File

@@ -37,8 +37,8 @@ runs:
GCC_VERSION: ${{ inputs.gcc-version }}
run: |
sudo apt-get install gcc-"{GCC_VERSION}" g++-"{GCC_VERSION}"
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 20
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 20
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-"{GCC_VERSION}" 20
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-"{GCC_VERSION}" 20
- name: Check GCC
shell: bash