mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 02:17:16 +02:00
ci: downcast_mode
testing removed
This commit is contained in:
7
.github/workflows/ci-conan.yml
vendored
7
.github/workflows/ci-conan.yml
vendored
@ -35,7 +35,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: ${{ matrix.config.name }} ${{ matrix.build_type }} [downcast=${{ matrix.downcast_mode }}]
|
name: ${{ matrix.config.name }} ${{ matrix.build_type }}
|
||||||
runs-on: ${{ matrix.config.os }}
|
runs-on: ${{ matrix.config.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@ -190,7 +190,6 @@ jobs:
|
|||||||
conan-config: "",
|
conan-config: "",
|
||||||
}
|
}
|
||||||
build_type: ["Release", "Debug"]
|
build_type: ["Release", "Debug"]
|
||||||
downcast_mode: ["on", "auto"]
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CC: ${{ matrix.config.compiler.cc }}
|
CC: ${{ matrix.config.compiler.cc }}
|
||||||
@ -214,7 +213,7 @@ jobs:
|
|||||||
- uses: hendrikmuhs/ccache-action@v1.2
|
- uses: hendrikmuhs/ccache-action@v1.2
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
with:
|
with:
|
||||||
key: ${{ matrix.config.os }}-${{ matrix.config.compiler.type }}-${{ matrix.config.compiler.version }}-${{ matrix.config.lib }}-${{ matrix.build_type }}-${{ matrix.downcast_mode }}
|
key: ${{ matrix.config.os }}-${{ matrix.config.compiler.type }}-${{ matrix.config.compiler.version }}-${{ matrix.config.lib }}-${{ matrix.build_type }}
|
||||||
max-size: 50M
|
max-size: 50M
|
||||||
- name: Install gcc-12
|
- name: Install gcc-12
|
||||||
if: matrix.config.compiler.type == 'GCC' && matrix.config.compiler.version == '12'
|
if: matrix.config.compiler.type == 'GCC' && matrix.config.compiler.version == '12'
|
||||||
@ -282,7 +281,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
conan create . --user mpusz --channel ${CHANNEL} --lockfile-out=package.lock \
|
conan create . --user mpusz --channel ${CHANNEL} --lockfile-out=package.lock \
|
||||||
-b mp-units/* -b missing -c tools.cmake.cmaketoolchain:generator="Ninja Multi-Config" \
|
-b mp-units/* -b missing -c tools.cmake.cmaketoolchain:generator="Ninja Multi-Config" \
|
||||||
-o downcast_mode=${{ matrix.downcast_mode }} -c user.build:all=True -c user.build:skip_docs=True ${{ matrix.config.conan-config }}
|
-c user.build:all=True -c user.build:skip_docs=True ${{ matrix.config.conan-config }}
|
||||||
- name: Obtain package reference
|
- name: Obtain package reference
|
||||||
id: get-package-ref
|
id: get-package-ref
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Reference in New Issue
Block a user