mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-29 18:07: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 }}
|
||||
run: |
|
||||
if [[ "${{ matrix.config.compiler.type }}" == "VISUAL" ]]; then
|
||||
conanvcvars.bat
|
||||
./conanvcvars.bat
|
||||
fi
|
||||
cmake ../../src -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
|
||||
- name: Install mp-units
|
||||
@ -168,7 +168,7 @@ jobs:
|
||||
mkdir -p test_package/build/${{ matrix.build_type }} && cd test_package/build/${{ matrix.build_type }}
|
||||
conan install ../../..
|
||||
if [[ "${{ matrix.config.compiler.type }}" == "VISUAL" ]]; then
|
||||
conanvcvars.bat
|
||||
./conanvcvars.bat
|
||||
fi
|
||||
cmake ../.. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_INSTALL_PREFIX=../../../build/${{ matrix.build_type }}/test_package
|
||||
- name: Build test_package
|
||||
|
Reference in New Issue
Block a user