From 11df7a4a8bfb12e03584c4c9c8bcb8475e51013d Mon Sep 17 00:00:00 2001 From: Mick Grove Date: Thu, 5 Mar 2026 23:09:54 -0800 Subject: [PATCH] v1.86.0 --- .github/workflows/ci.yml | 35 ++++++++++++++++++++++++++++ .github/workflows/release.yml | 44 +++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ac7889..c557cf8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,12 @@ jobs: shared-key: kingfisher-${{ runner.os }}-${{ runner.arch }} cache-on-failure: true + - name: Install Linux test dependencies + run: | + sudo apt-get update -qq + sudo apt-get install -y --no-install-recommends \ + cmake pkg-config libboost-all-dev patch perl ragel + - name: Run tests run: make tests env: @@ -74,6 +80,12 @@ jobs: shared-key: kingfisher-${{ runner.os }}-${{ runner.arch }} cache-on-failure: true + - name: Install Linux test dependencies + run: | + sudo apt-get update -qq + sudo apt-get install -y --no-install-recommends \ + cmake pkg-config libboost-all-dev patch perl ragel + - name: Run tests run: make tests env: @@ -95,6 +107,14 @@ jobs: with: shared-key: kingfisher-${{ runner.os }}-${{ runner.arch }} cache-on-failure: true + + - name: Install macOS test dependencies + run: | + brew list cmake >/dev/null 2>&1 || brew install cmake + brew list boost >/dev/null 2>&1 || brew install boost + brew list pkg-config >/dev/null 2>&1 || brew install pkg-config + brew list ragel >/dev/null 2>&1 || brew install ragel + - name: Run tests run: make tests - name: Build (Makefile darwin-arm64) @@ -164,6 +184,21 @@ jobs: fi fi + if [ "${{ matrix.arch }}" = "x64" ]; then + extra_native_lib_dirs="-L native=/mingw64/lib" + if command -v x86_64-w64-mingw32-gcc >/dev/null 2>&1; then + libgcc_a_path="$(x86_64-w64-mingw32-gcc -print-libgcc-file-name 2>/dev/null || true)" + if [ -n "$libgcc_a_path" ] && [ -f "$libgcc_a_path" ]; then + libgcc_dir="$(dirname "$libgcc_a_path")" + extra_native_lib_dirs="$extra_native_lib_dirs -L native=$libgcc_dir" + echo "Using libgcc from $libgcc_dir" + fi + fi + export RUSTFLAGS="${RUSTFLAGS:-} $extra_native_lib_dirs -C target-feature=+crt-static -C link-arg=-static" + else + export RUSTFLAGS="${RUSTFLAGS:-} -L native=/clangarm64/lib -C target-feature=+crt-static -C link-arg=-static" + fi + echo "▶ cargo test --release --workspace --all-targets --target $target_triple" cargo test --release --workspace --all-targets --target "$target_triple" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c0fe1c4..ee6a123 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,6 +49,12 @@ jobs: - name: Install packaging tools run: cargo install cargo-deb cargo-generate-rpm + - name: Install Linux test dependencies + run: | + sudo apt-get update -qq + sudo apt-get install -y --no-install-recommends \ + cmake pkg-config libboost-all-dev patch perl ragel + - name: Run tests run: make tests env: @@ -118,6 +124,12 @@ jobs: - name: Install packaging tools run: cargo install cargo-deb cargo-generate-rpm + - name: Install Linux test dependencies + run: | + sudo apt-get update -qq + sudo apt-get install -y --no-install-recommends \ + cmake pkg-config libboost-all-dev patch perl ragel + - name: Run tests run: make tests env: @@ -174,6 +186,16 @@ jobs: shared-key: kingfisher-${{ runner.os }}-${{ runner.arch }} cache-on-failure: true + - name: Install macOS test dependencies + run: | + brew list cmake >/dev/null 2>&1 || brew install cmake + brew list boost >/dev/null 2>&1 || brew install boost + brew list pkg-config >/dev/null 2>&1 || brew install pkg-config + brew list ragel >/dev/null 2>&1 || brew install ragel + + - name: Run tests + run: make tests + - name: Build Darwin x64 run: make darwin-x64 @@ -203,6 +225,13 @@ jobs: shared-key: kingfisher-${{ runner.os }}-${{ runner.arch }} cache-on-failure: true + - name: Install macOS test dependencies + run: | + brew list cmake >/dev/null 2>&1 || brew install cmake + brew list boost >/dev/null 2>&1 || brew install boost + brew list pkg-config >/dev/null 2>&1 || brew install pkg-config + brew list ragel >/dev/null 2>&1 || brew install ragel + - name: Run tests run: make tests - name: Build Darwin arm64 @@ -282,6 +311,21 @@ jobs: fi fi + if [ "${{ matrix.arch }}" = "x64" ]; then + extra_native_lib_dirs="-L native=/mingw64/lib" + if command -v x86_64-w64-mingw32-gcc >/dev/null 2>&1; then + libgcc_a_path="$(x86_64-w64-mingw32-gcc -print-libgcc-file-name 2>/dev/null || true)" + if [ -n "$libgcc_a_path" ] && [ -f "$libgcc_a_path" ]; then + libgcc_dir="$(dirname "$libgcc_a_path")" + extra_native_lib_dirs="$extra_native_lib_dirs -L native=$libgcc_dir" + echo "Using libgcc from $libgcc_dir" + fi + fi + export RUSTFLAGS="${RUSTFLAGS:-} $extra_native_lib_dirs -C target-feature=+crt-static -C link-arg=-static" + else + export RUSTFLAGS="${RUSTFLAGS:-} -L native=/clangarm64/lib -C target-feature=+crt-static -C link-arg=-static" + fi + echo "▶ cargo test --release --workspace --all-targets --target $target_triple" cargo test --release --workspace --all-targets --target "$target_triple"