File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 4242 architecture : x86_64
4343 shell : pwsh
4444 build_type : msvc
45- # Linux
46- - os : ubuntu-latest
45+ # Linux (use 20.04 for broader glibc compatibility in AppImage/packages)
46+ - os : ubuntu-20.04
4747 os_name : linux
4848 architecture : x86_64
4949 shell : bash
6464 - name : Install GCC 13 (Ubuntu)
6565 if : matrix.os_name == 'linux'
6666 run : |
67+ # Add PPA for GCC 13 (needed on Ubuntu 20.04)
68+ sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
6769 sudo apt-get update
6870 sudo apt-get install -y gcc-13 g++-13
6971 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 100
@@ -192,7 +194,8 @@ jobs:
192194
193195 # Build AppImage - linuxdeploy automatically bundles libhidapi and other dependencies
194196 # Use --appimage-extract-and-run to avoid FUSE issues on GitHub Actions runners
195- ./linuxdeploy-x86_64.AppImage --appimage-extract-and-run \
197+ # DEPLOY_LIBSTDCPP=1 bundles libstdc++ for compatibility with older systems
198+ DEPLOY_LIBSTDCPP=1 ./linuxdeploy-x86_64.AppImage --appimage-extract-and-run \
196199 --appdir AppDir \
197200 --executable headsetcontrol \
198201 --desktop-file headsetcontrol.desktop \
You can’t perform that action at this time.
0 commit comments