From 828312ffb598bf0c04f0f0aac3aed2a49269a189 Mon Sep 17 00:00:00 2001 From: David Rauschenbach Date: Mon, 4 Nov 2024 07:01:44 -0800 Subject: [PATCH] Support a CI test matrix of different hardware architectures --- .github/workflows/arrow.yml | 15 ++++++++++++--- .github/workflows/arrow_flight.yml | 15 ++++++++++++--- .github/workflows/object_store.yml | 5 ++++- .github/workflows/parquet.yml | 15 ++++++++++++--- .github/workflows/parquet_derive.yml | 10 ++++++++-- 5 files changed, 48 insertions(+), 12 deletions(-) diff --git a/.github/workflows/arrow.yml b/.github/workflows/arrow.yml index d3b2526740fa..6dc45b6924d0 100644 --- a/.github/workflows/arrow.yml +++ b/.github/workflows/arrow.yml @@ -52,9 +52,12 @@ jobs: # test the crate linux-test: name: Test + strategy: + matrix: + arch: ["amd64"] runs-on: ubuntu-latest container: - image: amd64/rust + image: ${{arch}}/rust steps: - uses: actions/checkout@v4 with: @@ -109,8 +112,11 @@ jobs: linux-features: name: Check Compilation runs-on: ubuntu-latest + strategy: + matrix: + arch: ["amd64"] container: - image: amd64/rust + image: ${{arch}}/rust steps: - uses: actions/checkout@v4 with: @@ -155,8 +161,11 @@ jobs: clippy: name: Clippy runs-on: ubuntu-latest + strategy: + matrix: + arch: ["amd64"] container: - image: amd64/rust + image: ${{arch}}/rust steps: - uses: actions/checkout@v4 - name: Setup Rust toolchain diff --git a/.github/workflows/arrow_flight.yml b/.github/workflows/arrow_flight.yml index 242e0f2a3b0d..270bf0ee1f9b 100644 --- a/.github/workflows/arrow_flight.yml +++ b/.github/workflows/arrow_flight.yml @@ -44,8 +44,11 @@ jobs: linux-test: name: Test runs-on: ubuntu-latest + strategy: + matrix: + arch: ["amd64"] container: - image: amd64/rust + image: ${{arch}}/rust steps: - uses: actions/checkout@v4 with: @@ -65,8 +68,11 @@ jobs: vendor: name: Verify Vendored Code runs-on: ubuntu-latest + strategy: + matrix: + arch: ["amd64"] container: - image: amd64/rust + image: ${{arch}}/rust steps: - uses: actions/checkout@v4 - name: Setup Rust toolchain @@ -79,8 +85,11 @@ jobs: clippy: name: Clippy runs-on: ubuntu-latest + strategy: + matrix: + arch: ["amd64"] container: - image: amd64/rust + image: ${{arch}}/rust steps: - uses: actions/checkout@v4 - name: Setup Rust toolchain diff --git a/.github/workflows/object_store.yml b/.github/workflows/object_store.yml index bdbfc0bec4bb..bf05c59ae2a1 100644 --- a/.github/workflows/object_store.yml +++ b/.github/workflows/object_store.yml @@ -37,8 +37,11 @@ jobs: clippy: name: Clippy runs-on: ubuntu-latest + strategy: + matrix: + arch: ["amd64"] container: - image: amd64/rust + image: ${{arch}}/rust defaults: run: working-directory: object_store diff --git a/.github/workflows/parquet.yml b/.github/workflows/parquet.yml index a4e654892662..798d88fb99e1 100644 --- a/.github/workflows/parquet.yml +++ b/.github/workflows/parquet.yml @@ -49,8 +49,11 @@ jobs: linux-test: name: Test runs-on: ubuntu-latest + strategy: + matrix: + arch: ["amd64"] container: - image: amd64/rust + image: ${{arch}}/rust steps: - uses: actions/checkout@v4 with: @@ -72,8 +75,11 @@ jobs: linux-features: name: Check Compilation runs-on: ubuntu-latest + strategy: + matrix: + arch: ["amd64"] container: - image: amd64/rust + image: ${{arch}}/rust steps: - uses: actions/checkout@v4 with: @@ -168,8 +174,11 @@ jobs: clippy: name: Clippy runs-on: ubuntu-latest + strategy: + matrix: + arch: ["amd64"] container: - image: amd64/rust + image: ${{arch}}/rust steps: - uses: actions/checkout@v4 - name: Setup Rust toolchain diff --git a/.github/workflows/parquet_derive.yml b/.github/workflows/parquet_derive.yml index d8b02f73a8aa..32126df5fa30 100644 --- a/.github/workflows/parquet_derive.yml +++ b/.github/workflows/parquet_derive.yml @@ -40,8 +40,11 @@ jobs: linux-test: name: Test runs-on: ubuntu-latest + strategy: + matrix: + arch: ["amd64"] container: - image: amd64/rust + image: ${{arch}}/rust steps: - uses: actions/checkout@v4 with: @@ -54,8 +57,11 @@ jobs: clippy: name: Clippy runs-on: ubuntu-latest + strategy: + matrix: + arch: ["amd64"] container: - image: amd64/rust + image: ${{arch}}/rust steps: - uses: actions/checkout@v4 - name: Setup Rust toolchain