Skip to content

Commit 71c776f

Browse files
committed
fix: re-add osx
1 parent 2b4c141 commit 71c776f

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
env:
14-
DUCKDB_VERSION: "1.2.0"
14+
duckdb-version: "1.2.0"
1515

1616
jobs:
1717
test:
1818
name: Test
19-
runs-on: ${{ matrix.os }}
19+
runs-on: ${{ matrix.os.runner }}
2020
env:
2121
DUCKDB_LIB_DIR: /opt/duckdb
2222
strategy:
@@ -28,8 +28,10 @@ jobs:
2828
- "3.12"
2929
- "3.13"
3030
os:
31-
- ubuntu-latest
32-
# - macos-latest
31+
- runner: ubuntu-latest
32+
duckdb-slug: linux-amd64
33+
- runner: macos-latest
34+
duckdb-slug: osx-universal
3335
# https://github.com/stac-utils/stacrs/issues/1
3436
# - windows-latest
3537
steps:
@@ -40,8 +42,8 @@ jobs:
4042
run: uv python install ${{ matrix.python-version }}
4143
- name: Install libduckdb
4244
run: |
43-
wget https://github.com/duckdb/duckdb/releases/download/v$DUCKDB_VERSION/libduckdb-linux-amd64.zip
44-
unzip libduckdb-linux-amd64.zip -d /opt/duckdb
45+
wget https://github.com/duckdb/duckdb/releases/download/v${{ env.duckdb-version }}/libduckdb-${{ matrix.os.duckdb-slug }}.zip
46+
unzip libduckdb-${{ matrix.os.duckdb-slug }}.zip -d /opt/duckdb
4547
- name: Sync
4648
run: uv sync --no-install-project
4749
- name: Build directly with maturin

0 commit comments

Comments
 (0)