From fced06771ef9a846aa94bc9cc7bda6ce1a2ab4f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Garramu=C3=B1o?= Date: Sun, 31 Mar 2024 11:18:36 -0300 Subject: [PATCH] Updated to build with ninja. --- .github/workflows/ci-workflow.yml | 6 ++++++ etc/macOS/macos-build-gha.sh | 1 + 2 files changed, 7 insertions(+) diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index 59131ec5..19b1175d 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -154,6 +154,9 @@ jobs: - name: Get machine name run: echo "Machine name $RUNNER_NAME" + + - name: Install ninja-build + run: brew install ninja # \bug DYLD_LIBRARY_PATH is not being set here? - name: Setup environment @@ -212,6 +215,9 @@ jobs: - name: Get machine name run: echo "Machine name $RUNNER_NAME" + + - name: Install ninja-build + run: brew install ninja # \bug DYLD_LIBRARY_PATH is not being set here? - name: Setup environment diff --git a/etc/macOS/macos-build-gha.sh b/etc/macOS/macos-build-gha.sh index e31d0b9c..2dba2944 100644 --- a/etc/macOS/macos-build-gha.sh +++ b/etc/macOS/macos-build-gha.sh @@ -7,6 +7,7 @@ BUILD_TYPE=$1 mkdir build cd build cmake ../etc/SuperBuild \ + -G Ninja \ -DCMAKE_BUILD_TYPE=$BUILD_TYPE \ -DCMAKE_INSTALL_PREFIX=$PWD/install \ -DCMAKE_PREFIX_PATH=$PWD/install \