summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-01-07 21:05:15 +0800
committerJia Tan <jiat0218@gmail.com>2023-01-07 21:15:18 +0800
commit8d372bd94066b1a5b0570b2550f83c2868486adf (patch)
tree97ac9264e5250403717bb3e525a6769fa5580c6c /.github
parent747c7f2b34bd498f6702c6875500a26b06201772 (diff)
downloadxz-8d372bd94066b1a5b0570b2550f83c2868486adf.tar.gz
CI/CD: Split CMake Linux and MacOS build phase to build and test.
The phase split was only done for Autotools before, so should also apply to CMake.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4a46e25..a1ef1f3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -82,7 +82,9 @@ jobs:
- name: Install Dependencies
run: sudo apt-get install -y build-essential cmake
- name: Build
- run: ./build-aux/ci_build.sh -b cmake
+ run: ./build-aux/ci_build.sh -b cmake -p build
+ - name: Test
+ run: ./build-aux/ci_build.sh -b cmake -p test
MacOS-Autotools:
runs-on: macos-latest
@@ -139,5 +141,7 @@ jobs:
- name: Install Dependencies
run: brew install cmake
- name: Build
- run: ./build-aux/ci_build.sh -b cmake
+ run: ./build-aux/ci_build.sh -b cmake -p build
+ - name: Test
+ run: ./build-aux/ci_build.sh -b cmake -p test
\ No newline at end of file