ci: another effort to fix it

This commit is contained in:
Mateusz Pusz
2021-03-19 09:58:01 +01:00
parent 30532ca4e8
commit 2defd58899

View File

@@ -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