8 Commits
Author SHA1 Message Date
fristyagent ee4a3a3ace Merge pull request 'chore(release): 0.3.3' (#23) from chore/release-0.3.3 into main
Release / Server (windows-x64) (push) Successful in 4m38s
CI / CLI (windows) (push) Successful in 5m17s
Release / CLI (windows-x64) (push) Successful in 5m54s
Release / CLI (linux-x64) (push) Successful in 7m44s
Release / Publish release (push) Successful in 1s
CI / CLI (push) Successful in 15s
CI / CLI (linux-arm64, static) (push) Successful in 49s
Development image / Development image (push) Skipped
CI / Docker image (push) Successful in 15s
Release / Prepare release (push) Successful in 4s
CI / Server (push) Successful in 25s
CI / CLI (linux-x86-64, static) (push) Successful in 56s
Release / Server (linux-x64) (push) Successful in 54s
Release / Docker image (push) Successful in 1m40s
Release / CLI (linux-arm64, static) (push) Successful in 2m44s
2026-11-17 17:21:33 +03:00
fristy 216bd52e67 chore(release): 0.3.3
CI / CLI (pull_request) Successful in 17s
CI / Server (pull_request) Successful in 30s
CI / Docker image (pull_request) Successful in 38s
CI / CLI (linux-arm64, static) (pull_request) Successful in 47s
CI / CLI (windows) (pull_request) Successful in 1m10s
CI / CLI (linux-x86-64, static) (pull_request) Successful in 59s
Cut 0.3.3 from the Unreleased section: the statically linked Linux binaries
and the CI caching work, plus the version the release binaries read from
package.json.
2026-11-17 17:19:52 +03:00
fristyagent cea885454e Merge pull request 'ci: skip the development image for release commits' (#22) from ci/dev-image-release-guard into main
CI / Docker image (push) Successful in 16s
CI / CLI (push) Successful in 16s
CI / Server (push) Successful in 25s
Development image / Development image (push) Successful in 22s
CI / CLI (linux-arm64, static) (push) Successful in 47s
CI / CLI (windows) (push) Successful in 1m13s
CI / CLI (linux-x86-64, static) (push) Successful in 59s
2026-11-17 17:10:41 +03:00
fristy 936715f993 ci: skip the development image for release commits
CI / Server (pull_request) Successful in 26s
CI / Docker image (pull_request) Successful in 13s
CI / CLI (windows) (pull_request) Successful in 1m15s
CI / CLI (pull_request) Successful in 16s
CI / CLI (linux-arm64, static) (pull_request) Successful in 52s
CI / CLI (linux-x86-64, static) (pull_request) Successful in 3m43s
The guard matched a 'Release ' prefix that no commit uses any more, so every
release rebuilt the development image. Match the (release) scope, which covers
the release commit and its merge commit.
2026-11-17 16:58:05 +03:00
fristyagent 67c3f3b484 Merge pull request 'ci: give each static Linux target its own cache and job' (#21) from ci/target-cache-cli-jobs into main
CI / CLI (push) Successful in 16s
CI / Server (push) Successful in 25s
CI / Docker image (push) Successful in 15s
Development image / Development image (push) Successful in 21s
CI / CLI (windows) (push) Successful in 1m29s
CI / CLI (linux-arm64, static) (push) Successful in 1m45s
CI / CLI (linux-x86-64, static) (push) Successful in 3m45s
2026-11-17 16:57:29 +03:00
fristy 962320f553 ci: give each static Linux target its own cache and job
CI / Docker image (pull_request) Successful in 15s
CI / CLI (pull_request) Successful in 15s
CI / Server (pull_request) Successful in 25s
CI / CLI (windows) (pull_request) Successful in 2m8s
CI / CLI (linux-x86-64, static) (pull_request) Successful in 3m32s
CI / CLI (linux-arm64, static) (pull_request) Successful in 1m44s
Both checks rebuilt from scratch every run: the arm64 key already existed, so
the cache was never saved. Cache per target, build without debug info, check
x86-64 in its own job, and stop caching cli/target on Windows.
2026-11-17 16:44:19 +03:00
fristy 3c712d3d30 Merge pull request 'fix(release): build the Linux CLI against musl' (#20) from ci/static-linux-cli into main
CI / Docker image (push) Successful in 14s
CI / CLI (push) Successful in 16s
CI / Server (push) Successful in 25s
Development image / Development image (push) Successful in 21s
CI / CLI (windows) (push) Successful in 3m10s
CI / CLI (linux-arm64, static) (push) Successful in 5m34s
Reviewed-on: #20
2026-11-17 16:12:55 +03:00
fristy d6ab83fc2e fix(release): build the Linux CLI against musl
CI / Docker image (pull_request) Successful in 17s
CI / CLI (pull_request) Successful in 18s
CI / Server (pull_request) Successful in 25s
CI / CLI (windows) (pull_request) Successful in 3m6s
CI / CLI (linux-arm64, static) (pull_request) Successful in 5m38s
The x86-64 artifact was built on the 26.10 runner image and required glibc 2.44,
so it failed on older distributions. Build both Linux targets statically with
the image's zig toolchain and fail the job when the result is not static.
2026-11-17 16:06:00 +03:00
6 changed files with 85 additions and 19 deletions

No files matched your search

+38 -6
View File
@@ -69,10 +69,9 @@ jobs:
path: | path: |
~/.cargo/registry ~/.cargo/registry
~/.cargo/git ~/.cargo/git
cli/target key: ${{ runner.os }}-cargo-registry-${{ hashFiles('cli/Cargo.lock') }}
key: ${{ runner.os }}-cargo-check-${{ hashFiles('cli/Cargo.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-cargo-check- ${{ runner.os }}-cargo-registry-
- name: Install Rust - name: Install Rust
shell: powershell shell: powershell
@@ -140,8 +139,9 @@ jobs:
cli-arm64: cli-arm64:
name: CLI (linux-arm64, static) name: CLI (linux-arm64, static)
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 45 timeout-minutes: 60
continue-on-error: true env:
CARGO_PROFILE_DEV_DEBUG: "0"
steps: steps:
- uses: actions/checkout@v7 - uses: actions/checkout@v7
@@ -151,11 +151,43 @@ jobs:
path: | path: |
~/.cargo/registry ~/.cargo/registry
~/.cargo/git ~/.cargo/git
cli/target cli/target/debug
cli/target/aarch64-unknown-linux-musl
key: ${{ runner.os }}-cargo-arm64-check-${{ hashFiles('cli/Cargo.lock') }} key: ${{ runner.os }}-cargo-arm64-check-${{ hashFiles('cli/Cargo.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-cargo-arm64-check- ${{ runner.os }}-cargo-arm64-check-
- name: Add the arm64 target
run: rustup target add aarch64-unknown-linux-musl
- name: Cross-compile for arm64 - name: Cross-compile for arm64
working-directory: cli working-directory: cli
run: cargo zigbuild --target aarch64-unknown-linux-musl --no-default-features run: cargo zigbuild --target aarch64-unknown-linux-musl --no-default-features
cli-x86-64:
name: CLI (linux-x86-64, static)
runs-on: ubuntu-latest
timeout-minutes: 60
env:
CARGO_PROFILE_DEV_DEBUG: "0"
steps:
- uses: actions/checkout@v7
- name: Cache cargo
uses: actions/cache@v6
with:
path: |
~/.cargo/registry
~/.cargo/git
cli/target/debug
cli/target/x86_64-unknown-linux-musl
key: ${{ runner.os }}-cargo-x86-64-check-${{ hashFiles('cli/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-x86-64-check-
- name: Add the x86-64 target
run: rustup target add x86_64-unknown-linux-musl
- name: Cross-compile for x86-64
working-directory: cli
run: cargo zigbuild --target x86_64-unknown-linux-musl
+2 -1
View File
@@ -19,7 +19,8 @@ jobs:
permissions: permissions:
contents: read contents: read
packages: write packages: write
if: "!startsWith(github.event.head_commit.message, 'Release ')" # Releases reach main as a merge commit of the chore(release) branch, so match the scope.
if: "!contains(github.event.head_commit.message, '(release)')"
steps: steps:
- uses: actions/checkout@v7 - uses: actions/checkout@v7
+26 -3
View File
@@ -56,10 +56,11 @@ jobs:
include: include:
- name: linux-x64 - name: linux-x64
os: ubuntu-latest os: ubuntu-latest
target: x86_64-unknown-linux-gnu target: x86_64-unknown-linux-musl
artifact: frislit-linux-x64 artifact: frislit-linux-x64
ext: "" ext: ""
is_linux: true is_linux: true
is_musl: true
deb_arch: amd64 deb_arch: amd64
rpm_arch: x86_64 rpm_arch: x86_64
- name: windows-x64 - name: windows-x64
@@ -103,13 +104,25 @@ jobs:
"$env:USERPROFILE\.cargo\bin" | Out-File -FilePath $env:GITHUB_PATH -Append "$env:USERPROFILE\.cargo\bin" | Out-File -FilePath $env:GITHUB_PATH -Append
} }
- name: Add the static Linux target
if: matrix.is_musl
shell: bash
run: rustup target add ${{ matrix.target }}
- name: Stamp the version - name: Stamp the version
shell: bash shell: bash
env: env:
VERSION: ${{ needs.prepare.outputs.version }} VERSION: ${{ needs.prepare.outputs.version }}
run: sed -i "s/^version = \".*\"/version = \"$VERSION\"/" cli/Cargo.toml run: sed -i "s/^version = \".*\"/version = \"$VERSION\"/" cli/Cargo.toml
- name: Build the CLI (static)
if: matrix.is_musl
shell: bash
working-directory: cli
run: cargo zigbuild --release --target ${{ matrix.target }}
- name: Build the CLI - name: Build the CLI
if: ${{ !matrix.is_musl }}
shell: bash shell: bash
working-directory: cli working-directory: cli
run: cargo build --release --target ${{ matrix.target }} run: cargo build --release --target ${{ matrix.target }}
@@ -120,6 +133,12 @@ jobs:
mkdir -p dist mkdir -p dist
cp "cli/target/${{ matrix.target }}/release/frislit${{ matrix.ext }}" "dist/${{ matrix.artifact }}" cp "cli/target/${{ matrix.target }}/release/frislit${{ matrix.ext }}" "dist/${{ matrix.artifact }}"
- name: Check that the Linux binary is static
if: matrix.is_linux
shell: bash
run: |
file "dist/${{ matrix.artifact }}" | tee /dev/stderr | grep -Eq 'static(ally|-pie) linked'
- name: Build the .deb and the .rpm - name: Build the .deb and the .rpm
if: matrix.is_linux if: matrix.is_linux
shell: bash shell: bash
@@ -180,7 +199,6 @@ jobs:
needs: prepare needs: prepare
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 60 timeout-minutes: 60
continue-on-error: true
permissions: permissions:
contents: write contents: write
steps: steps:
@@ -213,6 +231,11 @@ jobs:
cp cli/target/aarch64-unknown-linux-musl/release/frislit stage/cli/frislit cp cli/target/aarch64-unknown-linux-musl/release/frislit stage/cli/frislit
chmod +x stage/cli/frislit chmod +x stage/cli/frislit
- name: Check that the binary is static
shell: bash
run: |
file dist/frislit-linux-arm64 | tee /dev/stderr | grep -Eq 'static(ally|-pie) linked'
- name: Build the .deb and the .rpm - name: Build the .deb and the .rpm
env: env:
PKG_VERSION: ${{ needs.prepare.outputs.semver }} PKG_VERSION: ${{ needs.prepare.outputs.semver }}
@@ -380,7 +403,7 @@ jobs:
publish: publish:
name: Publish release name: Publish release
needs: [prepare, cli, server, docker] needs: [prepare, cli, cli-arm64, server, docker]
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 10 timeout-minutes: 10
permissions: permissions:
+18
View File
@@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning 2.0.0](https://semver.org/spec/
## [Unreleased] ## [Unreleased]
## [0.3.3] - 2026-11-17
### Changed
- The CI caches each static Linux target under its own key, builds them without debug info, and
checks the x86-64 build in a job of its own, so the cross-compile no longer rebuilds from scratch
on every run. The Windows check stops uploading `cli/target` to the cache, which cost more time
than the check itself.
- The development image is skipped for releases again: the guard looked for a `Release ` prefix,
while releases reach `main` as `chore(release): X.Y.Z` commits and their merge commits.
### Fixed
- The Linux CLI binaries are statically linked against musl, so they run on any distribution
regardless of its glibc version: `frislit-linux-x64` no longer demands glibc 2.44.
- The CI cross-compile job also builds the x86-64 musl binary, and both Linux jobs fail instead of
passing silently when the static build breaks.
## [0.3.2] - 2026-11-17 ## [0.3.2] - 2026-11-17
### Changed ### Changed
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "frislit", "name": "frislit",
"version": "0.3.2", "version": "0.3.3",
"description": "Self-hosted tunnels: subdomain, path and direct TCP/UDP behind one public port", "description": "Self-hosted tunnels: subdomain, path and direct TCP/UDP behind one public port",
"main": "server/index.js", "main": "server/index.js",
"repository": "https://git.fristy.net/fristy/frislit.git", "repository": "https://git.fristy.net/fristy/frislit.git",
-8
View File
@@ -11,14 +11,6 @@ vendor: "frislit"
homepage: "https://git.fristy.net/fristy/frislit" homepage: "https://git.fristy.net/fristy/frislit"
license: "MIT" license: "MIT"
overrides:
deb:
depends:
- libc6 (>= 2.35)
rpm:
depends:
- glibc >= 2.35
contents: contents:
- src: stage/cli/frislit - src: stage/cli/frislit
dst: /usr/bin/frislit dst: /usr/bin/frislit