Skip to content

Commit 0af78aa

Browse files
committed
Try CI matrix
1 parent bfa0d44 commit 0af78aa

File tree

1 file changed

+13
-30
lines changed

1 file changed

+13
-30
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -99,37 +99,20 @@ jobs:
9999
run: |
100100
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
101101
bash -c "ci/scripts/build_example.sh $(pwd)/example"
102-
ubuntu-meson:
103-
name: Meson - AMD64 Ubuntu 24.04
104-
runs-on: ubuntu-24.04
105-
timeout-minutes: 30
106-
strategy:
107-
fail-fast: false
108-
steps:
109-
- uses: actions/setup-python@v5
110-
with:
111-
python-version: '3.x'
112-
- name: Checkout iceberg-cpp
113-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
114-
with:
115-
fetch-depth: 0
116-
- name: Install build dependencies
117-
run: |
118-
python3 -m pip install --upgrade pip
119-
python3 -m pip install meson ninja
120-
- name: Build Iceberg
121-
run: |
122-
meson setup builddir
123-
meson compile -C builddir
124-
- name: Test Iceberg
125-
run: |
126-
meson test -C builddir
127-
windows-meson:
128-
name: Meson - AMD64 Windows 2022
129-
runs-on: windows-2022
130-
timeout-minutes: 30
102+
meson:
103+
name: Meson - ${{ matrix.title }}
104+
runs-on: ${{ matrix.runs-on }}
131105
strategy:
132106
fail-fast: false
107+
matrix:
108+
include:
109+
- title: AMD64 Ubuntu 24.04
110+
runs-on: ubuntu-24.04
111+
- title: AMD64 Windows 2022
112+
runs-on: windows-2022
113+
meson-setup-args: --vsenv
114+
- title: AArch64 macOS 15
115+
runs-on: macos-15
133116
steps:
134117
- uses: actions/setup-python@v5
135118
with:
@@ -144,7 +127,7 @@ jobs:
144127
python3 -m pip install meson ninja
145128
- name: Build Iceberg
146129
run: |
147-
meson setup builddir --vsenv
130+
meson setup builddir ${{ matrix.meson-setup-args || '' }}
148131
meson compile -C builddir
149132
- name: Test Iceberg
150133
run: |

0 commit comments

Comments
 (0)