diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ce7efc9c..fadceefc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -387,6 +387,10 @@ jobs: target: aarch64-apple-darwin artifact_name: hindsight asset_name: hindsight-darwin-arm64 + - os: ubuntu-24.04-arm + target: aarch64-unknown-linux-gnu + artifact_name: hindsight + asset_name: hindsight-linux-arm64 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c18d8691..14ba5588 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -686,6 +686,30 @@ jobs: echo "=== API Server Logs ===" cat /tmp/api-server.log || echo "No API server log found" + build-rust-cli-arm64: + runs-on: ubuntu-24.04-arm + + steps: + - uses: actions/checkout@v4 + + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + with: + targets: aarch64-unknown-linux-gnu + + - name: Cache cargo + uses: actions/cache@v4 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + hindsight-cli/target + key: linux-arm64-cargo-${{ hashFiles('**/Cargo.lock') }} + + - name: Build CLI + working-directory: hindsight-cli + run: cargo build --release --target aarch64-unknown-linux-gnu + test-rust-client: runs-on: ubuntu-latest env: