From 15c0fec43c062552110790fd276a8b1eed8a1d8e Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Thu, 1 Dec 2022 18:59:09 +0700 Subject: [PATCH] use Ninja to build this project on GitHub Actions --- .github/workflows/build.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cc9b0d0..39e6304 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,8 +12,11 @@ jobs: with: fetch-depth: 0 + - name: Install build dependencies + run: brew install ninja + - name: Configure CMake - run: cmake -B build + run: cmake . -G Ninja -B build - name: Build targets run: cmake --build build @@ -26,8 +29,11 @@ jobs: with: fetch-depth: 0 + - name: Install build dependencies + run: brew install ninja + - name: Configure CMake - run: cmake -B build -D BUILD_TESTING=ON . + run: cmake . -B build -G Ninja -D BUILD_TESTING=ON - name: Build targets run: cmake --build build