mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 07:15:03 -06:00
set gcc-12 as main alternative on ubuntu 22.04
This commit is contained in:
parent
7b6e56287b
commit
982074c047
2 changed files with 9 additions and 3 deletions
7
.github/workflows/conan-package-create.yml
vendored
7
.github/workflows/conan-package-create.yml
vendored
|
@ -110,10 +110,13 @@ jobs:
|
|||
|
||||
- name: Install GCC-12 on ubuntu-22.04
|
||||
if: ${{ matrix.os == 'ubuntu-22.04' }}
|
||||
run: sudo apt install g++-12 gcc-12 -y
|
||||
run: |
|
||||
sudo apt install g++-12 gcc-12 -y
|
||||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 12
|
||||
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 12
|
||||
|
||||
- name: Create the default Conan profile
|
||||
run: conan profile new default --detec
|
||||
run: conan profile new default --detect
|
||||
|
||||
- name: Get Conan configuration from branch
|
||||
if: ${{ inputs.conan_config_branch != '' }}
|
||||
|
|
5
.github/workflows/cura-installer.yml
vendored
5
.github/workflows/cura-installer.yml
vendored
|
@ -124,7 +124,10 @@ jobs:
|
|||
|
||||
- name: Install GCC-12 on ubuntu-22.04
|
||||
if: ${{ matrix.os == 'ubuntu-22.04' }}
|
||||
run: sudo apt install g++-12 gcc-12 -y
|
||||
run: |
|
||||
sudo apt install g++-12 gcc-12 -y
|
||||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 12
|
||||
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 12
|
||||
|
||||
- name: Create the default Conan profile
|
||||
run: conan profile new default --detect
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue