mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 04:14:27 +02:00
build: downcast_mode
verifications added to Conan unit tests
Only `auto` and `on` for now as `off` does not work
This commit is contained in:
7
.github/workflows/ci-conan.yml
vendored
7
.github/workflows/ci-conan.yml
vendored
@@ -32,7 +32,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: ${{ matrix.config.name }} ${{ matrix.build_type }}
|
name: ${{ matrix.config.name }} ${{ matrix.build_type }} [downcast=${{ matrix.downcast_mode }}]
|
||||||
runs-on: ${{ matrix.config.os }}
|
runs-on: ${{ matrix.config.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -60,7 +60,8 @@ jobs:
|
|||||||
# compiler: { type: GCC, version: 10, cc: "gcc-10", cxx: "g++-10" },
|
# compiler: { type: GCC, version: 10, cc: "gcc-10", cxx: "g++-10" },
|
||||||
# docker_image: conanio/gcc10
|
# docker_image: conanio/gcc10
|
||||||
# }
|
# }
|
||||||
build_type: [ "Release", "Debug" ]
|
build_type: [ "Release", "Debug" ],
|
||||||
|
downcast_mode: [ "on", "auto" ]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install Ninja
|
- name: Install Ninja
|
||||||
@@ -99,7 +100,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
CONAN_USERNAME: mpusz
|
CONAN_USERNAME: mpusz
|
||||||
CONAN_OPTIONS: mp-units:build_docs=False
|
CONAN_OPTIONS: mp-units:build_docs=False,mp-units:downcast_mode=${{ matrix.downcast_mode }}
|
||||||
CONAN_UPLOAD: https://api.bintray.com/conan/mpusz/conan-mpusz
|
CONAN_UPLOAD: https://api.bintray.com/conan/mpusz/conan-mpusz
|
||||||
CONAN_LOGIN_USERNAME: ${{ secrets.CONAN_LOGIN_USERNAME }}
|
CONAN_LOGIN_USERNAME: ${{ secrets.CONAN_LOGIN_USERNAME }}
|
||||||
CONAN_PASSWORD: ${{ secrets.CONAN_PASSWORD }}
|
CONAN_PASSWORD: ${{ secrets.CONAN_PASSWORD }}
|
||||||
|
Reference in New Issue
Block a user