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
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user