diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-01-07 21:05:15 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-01-07 21:15:18 +0800 |
commit | 8d372bd94066b1a5b0570b2550f83c2868486adf (patch) | |
tree | 97ac9264e5250403717bb3e525a6769fa5580c6c /.github/workflows/ci.yml | |
parent | CI/CD: Reduce job runners to 4 instead of using matrix strategy. (diff) | |
download | xz-8d372bd94066b1a5b0570b2550f83c2868486adf.tar.xz |
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 '')
-rw-r--r-- | .github/workflows/ci.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a46e256..a1ef1f3b 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 |