mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 10:27:16 +02:00
ci: calling conanvcvars.bat
fixed
This commit is contained in:
4
.github/workflows/ci-test-package-cmake.yml
vendored
4
.github/workflows/ci-test-package-cmake.yml
vendored
@ -154,7 +154,7 @@ jobs:
|
|||||||
working-directory: build/${{ matrix.build_type }}
|
working-directory: build/${{ matrix.build_type }}
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ matrix.config.compiler.type }}" == "VISUAL" ]]; then
|
if [[ "${{ matrix.config.compiler.type }}" == "VISUAL" ]]; then
|
||||||
conanvcvars.bat
|
./conanvcvars.bat
|
||||||
fi
|
fi
|
||||||
cmake ../../src -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
|
cmake ../../src -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
|
||||||
- name: Install mp-units
|
- name: Install mp-units
|
||||||
@ -168,7 +168,7 @@ jobs:
|
|||||||
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 ../../..
|
||||||
if [[ "${{ matrix.config.compiler.type }}" == "VISUAL" ]]; then
|
if [[ "${{ matrix.config.compiler.type }}" == "VISUAL" ]]; then
|
||||||
conanvcvars.bat
|
./conanvcvars.bat
|
||||||
fi
|
fi
|
||||||
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
|
- name: Build test_package
|
||||||
|
Reference in New Issue
Block a user