Skip to content

Commit 0d36a60

Browse files
Configure macOS SDKROOT when building native components et al. (#581)
1 parent 595fdcb commit 0d36a60

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/nightly.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ jobs:
4343
if: matrix.os == 'windows-latest'
4444
with:
4545
arch: x64
46+
- name: Configure macOS SDKROOT
47+
if: runner.os == 'macOS'
48+
run: echo "SDKROOT=$(xcrun --sdk macosx --show-sdk-path)" >> $GITHUB_ENV
4649
- name: Export GitHub Actions cache variables
4750
uses: actions/github-script@v8
4851
with:
@@ -53,7 +56,7 @@ jobs:
5356
run: |
5457
mkdir -p build
5558
mkdir -p artifacts/${{ matrix.platform }}
56-
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DTILEDB_SERIALIZATION=ON -DTILEDB_S3=ON -DTILEDB_VCPKG=ON -DCOMPILER_SUPPORTS_AVX2=OFF -DTILEDB_CMAKE_IDE=ON
59+
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DTILEDB_TESTS=OFF -DCOMPILER_SUPPORTS_AVX2=OFF
5760
cmake --build build -j --target tiledb
5861
cmake --install build --prefix artifacts/${{ matrix.platform }}
5962

0 commit comments

Comments
 (0)