mirror of https://git.tukaani.org/xz.git
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:
parent
747c7f2b34
commit
8d372bd940
|
@ -82,7 +82,9 @@ jobs:
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: sudo apt-get install -y build-essential cmake
|
run: sudo apt-get install -y build-essential cmake
|
||||||
- name: Build
|
- 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:
|
MacOS-Autotools:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
@ -139,5 +141,7 @@ jobs:
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: brew install cmake
|
run: brew install cmake
|
||||||
- name: Build
|
- 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
|
||||||
|
|
Loading…
Reference in New Issue