Skip to content

Commit d83cd7a

Browse files
authored
Merge pull request #89 from VariableThe/fix/linux-glibc-runner
fix(ci): pin Linux runner to ubuntu-22.04 for glibc 2.35 compatibility
2 parents ea4d211 + 29a4a5d commit d83cd7a

4 files changed

Lines changed: 18 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
ci:
99
strategy:
1010
matrix:
11-
os: [macos-latest, ubuntu-latest, windows-latest]
11+
os: [macos-latest, ubuntu-22.04, windows-latest]
1212
runs-on: ${{ matrix.os }}
1313
steps:
1414
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
@@ -23,7 +23,7 @@ jobs:
2323
- run: npm run format:check
2424
- run: npm run test
2525
- name: Check version bump and new features note
26-
if: matrix.os == 'ubuntu-latest' && github.event_name == 'pull_request'
26+
if: startsWith(matrix.os, 'ubuntu') && github.event_name == 'pull_request'
2727
run: |
2828
git fetch origin main
2929
MAIN_VERSION=$(git show origin/main:package.json | grep '"version"' | head -1 | awk -F: '{ print $2 }' | sed 's/[", ]//g')

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
needs: create-tag
3333
strategy:
3434
matrix:
35-
os: [macos-latest, ubuntu-latest, windows-latest]
35+
os: [macos-latest, ubuntu-22.04, windows-latest]
3636
runs-on: ${{ matrix.os }}
3737
steps:
3838
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
@@ -45,7 +45,7 @@ jobs:
4545
toolchain: stable
4646

4747
- name: Install dependencies (Ubuntu only)
48-
if: matrix.os == 'ubuntu-latest'
48+
if: startsWith(matrix.os, 'ubuntu')
4949
run: |
5050
sudo apt-get update
5151
sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev

AUDIT_LOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
This log tracks all significant changes, updates, and versions in the PaperCache project.
44

5+
## 2026-06-30 (Linux Runner Pinning for `glibc` Compatibility Fix)
6+
**Change:** fix(ci): pin Linux workflow runner to `ubuntu-22.04` across CI and release workflows to ensure `glibc 2.35` compatibility
7+
8+
**Details/Why:**
9+
1. **Linux `glibc` Compatibility**: GitHub Actions updated `ubuntu-latest` to Ubuntu 24.04 LTS, which links built Tauri binaries and AppImages against `glibc 2.38`. When users on Ubuntu 22.04 LTS or Debian 12 attempted to launch the Linux AppImage or run the binary, the dynamic linker failed with `version glibc 2.38 not found`. Changed runner matrix from `ubuntu-latest` to `ubuntu-22.04` and updated conditional steps (`startsWith(matrix.os, 'ubuntu')`) so that compiled Linux artifacts target `glibc 2.35` and run seamlessly on Ubuntu 22.04 LTS and newer distros without requiring OS upgrades.
10+
11+
**Files changed:** `.github/workflows/ci.yml`, `.github/workflows/release.yml`, `CHANGELOG.md`, `AUDIT_LOG.md`.
12+
13+
---
14+
515
## 2026-06-29 (v0.5.8 Release: Custom Evaluator, Strict Mode, Dep Cleanup)
616
**Change:** chore(release): bump version to 0.5.8; replace expr-eval with custom arithmetic evaluator; enable TypeScript strict mode; remove unused dependencies; fix any type in onEvent helper; add coverage thresholds
717

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
- **Linux Compatibility (`glibc` version mismatch)**: Pinned GitHub Actions Linux runner to `ubuntu-22.04` across CI and release workflows instead of `ubuntu-latest` (Ubuntu 24.04). This ensures built Linux binaries and AppImages link against `glibc 2.35` so they can run out-of-the-box on Ubuntu 22.04 LTS, Debian 12, and other distributions without throwing `version glibc 2.38 not found` errors.
12+
13+
1014
## [v0.5.8] - 2026-06-29
1115

1216
### Added

0 commit comments

Comments
 (0)