mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-02 03:44:27 +02:00
ci: test_package configure and build moved to one step
This commit is contained in:
9
.github/workflows/ci-test-package-cmake.yml
vendored
9
.github/workflows/ci-test-package-cmake.yml
vendored
@@ -172,23 +172,20 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p test_package/build/${{ matrix.build_type }} && cd test_package/build/${{ matrix.build_type }}
|
mkdir -p test_package/build/${{ matrix.build_type }} && cd test_package/build/${{ matrix.build_type }}
|
||||||
conan install ../../..
|
conan install ../../..
|
||||||
- name: Configure test_package CMake
|
- name: Build test_package CMake
|
||||||
if: matrix.config.compiler.type == 'VISUAL'
|
if: matrix.config.compiler.type == 'VISUAL'
|
||||||
shell: cmd
|
shell: cmd
|
||||||
working-directory: test_package/build/${{ matrix.build_type }}
|
working-directory: test_package/build/${{ matrix.build_type }}
|
||||||
run: |
|
run: |
|
||||||
call conanvcvars.bat
|
call conanvcvars.bat
|
||||||
cmake ../.. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_INSTALL_PREFIX=../../../build/${{ matrix.build_type }}/test_package
|
cmake ../.. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_INSTALL_PREFIX=../../../build/${{ matrix.build_type }}/test_package
|
||||||
- name: Configure test_package CMake
|
cmake --build .
|
||||||
|
- name: Build test_package CMake
|
||||||
if: matrix.config.compiler.type != 'VISUAL'
|
if: matrix.config.compiler.type != 'VISUAL'
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: test_package/build/${{ matrix.build_type }}
|
working-directory: test_package/build/${{ matrix.build_type }}
|
||||||
run: |
|
run: |
|
||||||
cmake ../.. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_INSTALL_PREFIX=../../../build/${{ matrix.build_type }}/test_package
|
cmake ../.. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_INSTALL_PREFIX=../../../build/${{ matrix.build_type }}/test_package
|
||||||
- name: Build test_package
|
|
||||||
shell: bash
|
|
||||||
working-directory: test_package/build/${{ matrix.build_type }}
|
|
||||||
run: |
|
|
||||||
cmake --build .
|
cmake --build .
|
||||||
- name: Run test_package
|
- name: Run test_package
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Reference in New Issue
Block a user