Compare commits
6
Commits
3c712d3d30
...
v0.3.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ee4a3a3ace | ||
|
|
216bd52e67
|
||
|
|
cea885454e | ||
|
|
936715f993
|
||
|
|
67c3f3b484 | ||
|
|
962320f553
|
No files matched your search
+32
-6
@@ -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
|
||||||
@@ -141,6 +140,8 @@ jobs:
|
|||||||
name: CLI (linux-arm64, static)
|
name: CLI (linux-arm64, static)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
|
env:
|
||||||
|
CARGO_PROFILE_DEV_DEBUG: "0"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v7
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
@@ -150,18 +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 static Linux targets
|
- name: Add the arm64 target
|
||||||
run: rustup target add x86_64-unknown-linux-musl
|
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
|
- name: Cross-compile for x86-64
|
||||||
working-directory: cli
|
working-directory: cli
|
||||||
run: cargo zigbuild --target x86_64-unknown-linux-musl
|
run: cargo zigbuild --target x86_64-unknown-linux-musl
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -7,6 +7,17 @@ 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
|
### Fixed
|
||||||
|
|
||||||
- The Linux CLI binaries are statically linked against musl, so they run on any distribution
|
- The Linux CLI binaries are statically linked against musl, so they run on any distribution
|
||||||
|
|||||||
+1
-1
@@ -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",
|
||||||
|
|||||||
Reference in new issue
Block a user