Fix glibc compat: build in Ubuntu 22.04 container (glibc 2.35)
Some checks failed
Release / build-and-release (push) Failing after 27s

The Forgejo runner's default image uses glibc 2.39, which produces
binaries incompatible with Pop!_OS / Ubuntu 22.04 (glibc 2.35).
Build inside container: ubuntu:22.04 with Node.js and Rust installed.
Bump to v0.4.4.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
le king fu 2026-02-27 21:46:31 -05:00
parent 3302d79c38
commit 9ab8d3d7df
5 changed files with 21 additions and 10 deletions

View file

@ -8,16 +8,23 @@ on:
jobs:
build-and-release:
runs-on: ubuntu
container: ubuntu:22.04
steps:
- name: Install base tools
run: |
apt-get update
apt-get install -y curl wget git sudo ca-certificates
- name: Checkout
uses: https://github.com/actions/checkout@v4
- name: Setup environment
run: |
# Ensure Rust is available
if ! command -v cargo &>/dev/null; then
# Install Node.js
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs
# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
fi
source "$HOME/.cargo/env"
rustc --version
cargo --version
@ -26,12 +33,11 @@ jobs:
- name: Install Linux dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf jq libssl-dev xdg-utils
apt-get install -y build-essential libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf jq libssl-dev xdg-utils
- name: Install Windows cross-compile dependencies
run: |
sudo apt-get install -y lld llvm clang nsis
apt-get install -y lld llvm clang nsis
source "$HOME/.cargo/env"
rustup target add x86_64-pc-windows-msvc
cargo install --locked cargo-xwin

View file

@ -2,6 +2,11 @@
## [Unreleased]
## [0.4.4]
### Fixed
- Linux binary now compatible with glibc 2.35+ (Ubuntu 22.04 / Pop!_OS) — CI builds in Ubuntu 22.04 container
## [0.4.3]
### Fixed

View file

@ -1,7 +1,7 @@
{
"name": "simpl_result_scaffold",
"private": true,
"version": "0.4.3",
"version": "0.4.4",
"type": "module",
"scripts": {
"dev": "vite",

View file

@ -1,6 +1,6 @@
[package]
name = "simpl-result"
version = "0.4.3"
version = "0.4.4"
description = "Personal finance management app"
authors = ["you"]
edition = "2021"

View file

@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Simpl Resultat",
"version": "0.4.3",
"version": "0.4.4",
"identifier": "com.simpl.resultat",
"build": {
"beforeDevCommand": "npm run dev",