From 7d8093a4f8c43beae7ca1d13bf5bf91f8cd3cab3 Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Sun, 8 Jun 2025 20:43:03 -0400 Subject: [PATCH] fix: add dedicated integration job for cross-compilation tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Restore integration job with CI-compatible linker configuration - Use aarch64-linux-gnu-gcc instead of aarch64-linux-musl-gcc for CI - Enable make run-built-image test in dedicated ubuntu-latest environment 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81ba722..4b8ab7a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,6 +47,33 @@ jobs: - run: make build - run: make test - run: make test-e2e + #- run: make run-built-image + + integration: + name: Integration Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b # master + with: + toolchain: stable + targets: x86_64-unknown-linux-musl,aarch64-unknown-linux-musl + - name: Install cross-compilation tools + run: | + sudo apt-get update + sudo apt-get install -y musl-tools gcc-aarch64-linux-gnu + - name: Setup cargo config for CI cross-compilation + run: | + mkdir -p .cargo + cat > .cargo/config.toml << 'EOF' + [target.x86_64-unknown-linux-musl] + linker = "x86_64-linux-musl-gcc" + + [target.aarch64-unknown-linux-musl] + linker = "aarch64-linux-gnu-gcc" + EOF + - run: make verify-cross-compile + - run: make build - run: make run-built-image fmt: