Skip to content

Commit 3a3b170

Browse files
committed
ci: don't use gcc-13 due to using the system's libstdc++ on AppImage
1 parent 295040e commit 3a3b170

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/build.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
sudo add-apt-repository ppa:okirby/qt6-backports --yes
1919
sudo apt-get -qq update
2020
sudo apt-get upgrade
21-
sudo apt-get -y install cmake ninja-build libhidapi-dev libsamplerate0-dev libspeex-dev libminizip-dev libsdl2-dev libfreetype6-dev libgl1-mesa-dev libglu1-mesa-dev pkg-config zlib1g-dev binutils-dev libspeexdsp-dev qt6-base-dev libqt6svg6-dev libvulkan-dev gcc-13 g++-13 build-essential nasm git zip appstream
21+
sudo apt-get -y install cmake ninja-build libhidapi-dev libsamplerate0-dev libspeex-dev libminizip-dev libsdl2-dev libfreetype6-dev libgl1-mesa-dev libglu1-mesa-dev pkg-config zlib1g-dev binutils-dev libspeexdsp-dev qt6-base-dev libqt6svg6-dev libvulkan-dev build-essential nasm git zip appstream
2222
- name: Prepare Environment
2323
run: |
2424
echo "GIT_REVISION=$(git describe --tags --always)" >> $GITHUB_ENV
@@ -29,9 +29,8 @@ jobs:
2929
export build_dir="$(pwd)/Build/AppImage"
3030
export bin_dir="$(pwd)/Bin/AppImage"
3131
cmake -S "$src_dir" -B "$build_dir" -DCMAKE_BUILD_TYPE="Release" \
32-
-DPORTABLE_INSTALL="OFF" -DUPDATER=ON -DAPPIMAGE_UPDATER=ON \
33-
-DCMAKE_C_COMPILER=$(which gcc-13) -DCMAKE_CXX_COMPILER=$(which g++-13) \
34-
-DCMAKE_INSTALL_PREFIX="/usr" -G "Ninja"
32+
-DPORTABLE_INSTALL="OFF" -DUPDATER=ON -DAPPIMAGE_UPDATER=ON -DUSE_LIBFMT=ON \
33+
-DCMAKE_INSTALL_PREFIX="/usr" -G "Ninja"
3534
cmake --build "$build_dir"
3635
cmake --install "$build_dir" --strip --prefix="$bin_dir/usr"
3736
shell: bash

0 commit comments

Comments
 (0)