Skip to content

Commit 9cf9a84

Browse files
committed
Update continuos-release.yml
1 parent 481137d commit 9cf9a84

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/continuos-release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
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
@@ -64,6 +64,8 @@ jobs:
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 \

0 commit comments

Comments
 (0)