1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

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.
This commit is contained in:
Jia Tan 2023-01-07 21:05:15 +08:00
parent 747c7f2b34
commit 8d372bd940

View file

@ -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