mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 04:14:27 +02:00
ci: VISUAL
renamed to MSVC
This commit is contained in:
2
.github/workflows/ci-conan.yml
vendored
2
.github/workflows/ci-conan.yml
vendored
@@ -41,7 +41,7 @@ jobs:
|
|||||||
- {
|
- {
|
||||||
name: "Windows MSVC 2019",
|
name: "Windows MSVC 2019",
|
||||||
os: windows-latest,
|
os: windows-latest,
|
||||||
compiler: { type: VISUAL, version: 16, cc: "cl", cxx: "cl" }
|
compiler: { type: MSVC, version: 16, cc: "cl", cxx: "cl" }
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
name: "Ubuntu GCC 10.1.0",
|
name: "Ubuntu GCC 10.1.0",
|
||||||
|
6
.github/workflows/ci-test-package-cmake.yml
vendored
6
.github/workflows/ci-test-package-cmake.yml
vendored
@@ -45,7 +45,7 @@ jobs:
|
|||||||
- {
|
- {
|
||||||
name: "Windows MSVC 2019",
|
name: "Windows MSVC 2019",
|
||||||
os: windows-latest,
|
os: windows-latest,
|
||||||
compiler: { type: VISUAL, version: 16, cc: "", cxx: "" }
|
compiler: { type: MSVC, version: 16, cc: "", cxx: "" }
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
name: "Ubuntu GCC 10.1.0",
|
name: "Ubuntu GCC 10.1.0",
|
||||||
@@ -153,7 +153,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
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 }}" == "MSVC" ]]; then
|
||||||
conanvcvars.bat
|
conanvcvars.bat
|
||||||
fi
|
fi
|
||||||
cmake ../../src -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
|
cmake ../../src -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
|
||||||
@@ -167,7 +167,7 @@ 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 ../../..
|
||||||
if [[ "${{ matrix.config.compiler.type }}" == "VISUAL" ]]; then
|
if [[ "${{ matrix.config.compiler.type }}" == "MSVC" ]]; 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
|
||||||
|
Reference in New Issue
Block a user