mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 05:04:27 +02:00
ci: another effort to fix it
This commit is contained in:
15
.github/workflows/ci-test-package-cmake.yml
vendored
15
.github/workflows/ci-test-package-cmake.yml
vendored
@@ -34,9 +34,6 @@ on:
|
||||
- 'example/**'
|
||||
- 'test/**'
|
||||
|
||||
env:
|
||||
CMAKE_GENERATOR: Ninja
|
||||
|
||||
jobs:
|
||||
test_package:
|
||||
name: ${{ matrix.config.name }} ${{ matrix.build_type }}
|
||||
@@ -48,7 +45,7 @@ jobs:
|
||||
- {
|
||||
name: "Windows MSVC 2019",
|
||||
os: windows-latest,
|
||||
compiler: { type: VISUAL, version: 16, cc: "cl", cxx: "cl" }
|
||||
compiler: { type: VISUAL, version: 16, cc: "", cxx: "" }
|
||||
}
|
||||
- {
|
||||
name: "Ubuntu GCC 10.1.0",
|
||||
@@ -82,6 +79,12 @@ jobs:
|
||||
# docker_image: conanio/gcc10
|
||||
# }
|
||||
build_type: [ "Release", "Debug" ]
|
||||
|
||||
env:
|
||||
CC: ${{ matrix.config.compiler.cc }}
|
||||
CXX: ${{ matrix.config.compiler.cxx }}
|
||||
CMAKE_GENERATOR: Ninja
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Cache Conan data
|
||||
@@ -131,10 +134,6 @@ jobs:
|
||||
- name: Configure Conan
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ "${{ matrix.config.compiler.type }}" == "GCC" || "${{ matrix.config.compiler.type }}" == "CLANG" ]]; then
|
||||
export CC=${{ matrix.config.compiler.cc }}
|
||||
export CXX=${{ matrix.config.compiler.cxx }}
|
||||
fi
|
||||
conan config init
|
||||
conan remote add upload https://api.bintray.com/conan/mpusz/conan-mpusz
|
||||
conan profile update settings.build_type=${{ matrix.build_type }} default
|
||||
|
Reference in New Issue
Block a user