Skip to content

Commit

Permalink
Switch to ninja build for macOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
PengZheng committed Dec 25, 2023
1 parent 2a5058f commit 6f0aa47
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
uses: actions/[email protected]
- name: Install dependencies
run: |
brew install lcov zeromq czmq cpputest jansson rapidjson libzip ccache
brew install lcov zeromq czmq cpputest jansson rapidjson libzip ccache ninja
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
run: |
Expand All @@ -95,11 +95,12 @@ jobs:
-DENABLE_TESTING_ON_CI=ON
-DCMAKE_BUILD_TYPE=Release
-DENABLE_CCACHE=ON
-G Ninja
run: |
mkdir build install
cd build
cmake ${BUILD_OPTIONS} -DCMAKE_INSTALL_PREFIX=../install ..
make -j && make install
ninja -j && ninja install
- name: Test
run: |
cd $GITHUB_WORKSPACE/build
Expand Down

0 comments on commit 6f0aa47

Please sign in to comment.