cc conan: bump dependencies, fix grpc linkage #3916
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Conan | |
'on': | |
pull_request: | |
push: | |
branches: | |
- master | |
- develop | |
- feature/** | |
env: | |
UBSAN_OPTIONS: print_stacktrace=1 | |
jobs: | |
build: | |
runs-on: ubuntu-${{ matrix.ubuntu_version }} | |
name: Ubuntu-${{ matrix.ubuntu_version }} | |
strategy: | |
fail-fast: false | |
matrix: | |
ubuntu_version: [22.04] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Reuse ccache directory | |
uses: actions/cache@v4 | |
with: | |
path: ~/.ccache | |
key: '${{matrix.os}} ${{matrix.info}} ccache-dir ${{github.ref}} run-${{github.run_number}}' | |
restore-keys: | | |
${{matrix.os}} ${{matrix.info}} ccache-dir ${{github.ref}} run-' | |
${{matrix.os}} ${{matrix.info}} ccache- | |
- name: Install packages | |
run: | | |
sudo apt-get install -y gcc g++ cmake wget git python3 python3-pip python3-venv ccache | |
pip install "conan==2.8.0" | |
pip install numpy | |
conan profile detect | |
conan profile show | |
- name: Setup ccache | |
run: | | |
ccache -M 2.0GB | |
ccache -s | |
- name: Run conan | |
run: | | |
conan create . --build=missing -s:a compiler.cppstd=17 -pr:b=default -tf conan/test_package/ |