This is an automated email from the ASF dual-hosted git repository. pengzheng pushed a commit to branch hotfix/macOS-ninja-build in repository https://gitbox.apache.org/repos/asf/celix.git
commit 6f0aa4785bbec857c6e0204796d3531cb591a4fb Author: PengZheng <[email protected]> AuthorDate: Mon Dec 25 15:00:35 2023 +0800 Switch to ninja build for macOS. --- .github/workflows/macos.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 435aac81..48fa0be0 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -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: | @@ -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
