You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pe...@apache.org on 2023/12/25 07:00:47 UTC
(celix) branch hotfix/macOS-ninja-build created (now 6f0aa478)
This is an automated email from the ASF dual-hosted git repository.
pengzheng pushed a change to branch hotfix/macOS-ninja-build
in repository https://gitbox.apache.org/repos/asf/celix.git
at 6f0aa478 Switch to ninja build for macOS.
This branch includes the following new commits:
new 6f0aa478 Switch to ninja build for macOS.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(celix) 01/01: Switch to ninja build for macOS.
Posted by pe...@apache.org.
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 <ho...@gmail.com>
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/checkout@v3.3.0
- 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