mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 07:15:03 -06:00
install dependencies gcc-12 and disable multilib
This commit is contained in:
parent
56e5bab174
commit
265824043d
1 changed files with 4 additions and 2 deletions
6
.github/workflows/cura-installer.yml
vendored
6
.github/workflows/cura-installer.yml
vendored
|
@ -130,10 +130,12 @@ jobs:
|
|||
if ! command -v gcc-12 &> /dev/null
|
||||
then
|
||||
git clone --branch releases/gcc-12 https://gcc.gnu.org/git/gcc.git gcc-source
|
||||
./gcc-source/contrib/download_prerequisites
|
||||
cd gcc-source
|
||||
./contrib/download_prerequisites
|
||||
cd ..
|
||||
mkdir gcc-12-build
|
||||
cd gcc-12-build
|
||||
./../gcc-source/configure --prefix=${{ runner.tool_cache }}/gcc-12 --enable-languages=c,c++
|
||||
./../gcc-source/configure --prefix=${{ runner.tool_cache }}/gcc-12 --enable-languages=c,c++ --disable-multilib
|
||||
make -j$(nproc)
|
||||
sudo make install
|
||||
echo "PATH=$PATH:${{ runner.tool_cache }}/gcc-12" >> $GITHUB_ENV
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue