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:
parent
747c7f2b34
commit
8d372bd940
1 changed files with 6 additions and 2 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -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 a new issue