From 32642ca3eacca3454041fa40b4017132725cd61e Mon Sep 17 00:00:00 2001 From: PineBale <272794187+PineBale@users.noreply.github.com> Date: Sun, 21 Jun 2026 23:27:41 +0800 Subject: [PATCH 1/6] Update Co-authored-by: Gemini 3.5 Flash Extend --- Makefile | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 720965d..f8a502a 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,14 @@ -CARGO ?= cargo -PROFILE ?= release -FEATURES ?= --all-features +CARGO ?= cargo +PROFILE ?= release +FEATURES ?= --all-features -CLIPPY_PROFILE ?= dev -TEST_PROFILE ?= dev +CLIPPY_PROFILE ?= $(PROFILE) +TEST_PROFILE ?= $(PROFILE) -CLIPPY_FLAGS = $(FEATURES) --all-targets -- -D warnings -TARPAULIN_FLAGS = --run-types AllTargets --out lcov --out stdout +CLIPPY_FLAGS = $(FEATURES) --all-targets -- -D warnings +TARPAULIN_FLAGS = --run-types AllTargets --out lcov --out stdout --skip-clean --target-dir target/tarpaulin -.PHONY: all build test lint lint-fix fmt fmt-check clean ci help +.PHONY: all build test lint lint-fix fmt fmt-check clean ci coverage all: fmt-check lint test build @@ -16,6 +16,9 @@ build: $(CARGO) build --profile $(PROFILE) $(FEATURES) test: + $(CARGO) test --profile $(TEST_PROFILE) $(FEATURES) + +coverage: $(CARGO) tarpaulin --profile $(TEST_PROFILE) $(FEATURES) $(TARPAULIN_FLAGS) lint: @@ -33,4 +36,4 @@ fmt-check: clean: $(CARGO) clean -ci: fmt-check lint test build +ci: fmt-check lint coverage build From eb13161b1cdc40df2fa2c744dd4bf0ab6ade0d30 Mon Sep 17 00:00:00 2001 From: PineBale <272794187+PineBale@users.noreply.github.com> Date: Sun, 21 Jun 2026 23:32:48 +0800 Subject: [PATCH 2/6] Update --- .github/workflows/build.yml | 2 +- .github/workflows/rust-clippy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7743ec1..6cf7c70 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,7 +48,7 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: 0 diff --git a/.github/workflows/rust-clippy.yml b/.github/workflows/rust-clippy.yml index cf2a176..b68b54f 100644 --- a/.github/workflows/rust-clippy.yml +++ b/.github/workflows/rust-clippy.yml @@ -37,7 +37,7 @@ jobs: actions: read steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Setup Rust uses: actions-rust-lang/setup-rust-toolchain@v1 From 2d42cae9f5d8d25b83a3423dc374284b5035dfd9 Mon Sep 17 00:00:00 2001 From: PineBale <272794187+PineBale@users.noreply.github.com> Date: Sun, 21 Jun 2026 23:33:54 +0800 Subject: [PATCH 3/6] Update --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6cf7c70..e367750 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,8 +38,8 @@ jobs: fail-fast: false matrix: os: [ - ubuntu-24.04, ubuntu-22.04, - ubuntu-24.04-arm, ubuntu-22.04-arm, + ubuntu-26.04, ubuntu-24.04, ubuntu-22.04, + ubuntu-26.04-arm, ubuntu-24.04-arm, ubuntu-22.04-arm, windows-latest, macos-26, macos-15, macos-14 ] From 10da4cf5821ce5c0100b5bc7cfbf517eace9ac8d Mon Sep 17 00:00:00 2001 From: PineBale <272794187+PineBale@users.noreply.github.com> Date: Sun, 21 Jun 2026 23:38:08 +0800 Subject: [PATCH 4/6] Update --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e367750..03bd021 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,6 +10,7 @@ on: - "build.rs" - "Cargo.toml" - "Cargo.lock" + - "Makefile" - "!.gitignore" - "!LICENSE" - "!README.md" @@ -22,6 +23,7 @@ on: - "build.rs" - "Cargo.toml" - "Cargo.lock" + - "Makefile" - "!.gitignore" - "!LICENSE" - "!README.md" From 57060d764f635c8160dacdb6d5d59c981ffdb558 Mon Sep 17 00:00:00 2001 From: PineBale <272794187+PineBale@users.noreply.github.com> Date: Mon, 22 Jun 2026 00:58:49 +0800 Subject: [PATCH 5/6] Update targets --- .github/workflows/build.yml | 57 +++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 03bd021..d39e6bd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,3 +61,60 @@ jobs: - uses: livewing/lcov-job-summary@v1.3.0 with: lcov: ./lcov.info + + + targets: + timeout-minutes: 30 + strategy: + fail-fast: false + matrix: + include: + - os: ubuntu-latest + target: x86_64-unknown-linux-gnu + - os: ubuntu-latest + target: x86_64-unknown-linux-musl + - os: ubuntu-26.04-arm + target: aarch64-unknown-linux-gnu + - os: ubuntu-26.04-arm + target: aarch64-unknown-linux-musl + - os: windows-latest + target: x86_64-pc-windows-msvc + - os: windows-latest + target: x86_64-pc-windows-gnullvm + - os: windows-latest + target: x86_64-pc-windows-gnu + - os: windows-11-arm + target: aarch64-pc-windows-msvc + - os: windows-11-arm + target: aarch64-pc-windows-gnullvm + - os: macos-latest + target: aarch64-apple-darwin + - os: macos-26-intel + target: x86_64-apple-darwin + + name: Compilation on ${{ matrix.os }} for ${{ matrix.target }} + runs-on: ${{ matrix.os }} + permissions: + contents: read + + steps: + - uses: actions/checkout@v7 + + - uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + toolchain: stable + target: ${{ matrix.target }} + cache: false + override: true + + - run: cargo test --profile release --target ${{ matrix.target }} --all-features + + - run: ls -alh ./target/release + + - uses: actions/upload-artifact@v7 + with: + name: ${{ github.run_id }}-${{ matrix.os }}-${{ matrix.target }} + path: | + ./target + retention-days: 1 + overwrite: true \ No newline at end of file From 8da741e75ebd91dd65a711cae05edb41ae20cd71 Mon Sep 17 00:00:00 2001 From: PineBale <272794187+PineBale@users.noreply.github.com> Date: Mon, 22 Jun 2026 01:21:25 +0800 Subject: [PATCH 6/6] Update targets no gnullvm --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d39e6bd..504266a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,14 +79,14 @@ jobs: target: aarch64-unknown-linux-musl - os: windows-latest target: x86_64-pc-windows-msvc - - os: windows-latest - target: x86_64-pc-windows-gnullvm +# - os: windows-latest +# target: x86_64-pc-windows-gnullvm - os: windows-latest target: x86_64-pc-windows-gnu - os: windows-11-arm target: aarch64-pc-windows-msvc - - os: windows-11-arm - target: aarch64-pc-windows-gnullvm +# - os: windows-11-arm +# target: aarch64-pc-windows-gnullvm - os: macos-latest target: aarch64-apple-darwin - os: macos-26-intel