fix: Do not use custom repo gcc 13 for Ubuntu because it doesn't run on vanilla Ubuntu (#1730)
This commit is contained in:
parent
984438e98d
commit
2c00aa5def
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -384,11 +384,6 @@ jobs:
|
|||||||
apt update
|
apt update
|
||||||
bash dist/get_deps_debian.sh
|
bash dist/get_deps_debian.sh
|
||||||
|
|
||||||
apt install software-properties-common -y
|
|
||||||
add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
|
||||||
apt update
|
|
||||||
apt install -y gcc-13 g++-13
|
|
||||||
|
|
||||||
- name: ⬇️ Install .NET
|
- name: ⬇️ Install .NET
|
||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
@ -402,7 +397,7 @@ jobs:
|
|||||||
git config --global --add safe.directory '*'
|
git config --global --add safe.directory '*'
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
CC=gcc-13 CXX=g++-13 cmake -G "Ninja" \
|
CC=gcc-12 CXX=g++-12 cmake -G "Ninja" \
|
||||||
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
|
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
|
||||||
-DCMAKE_INSTALL_PREFIX="/usr" \
|
-DCMAKE_INSTALL_PREFIX="/usr" \
|
||||||
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
|
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
|
||||||
|
Loading…
Reference in New Issue
Block a user