Skip to content

[improvement] migration to conan 2.0 #14

[improvement] migration to conan 2.0

[improvement] migration to conan 2.0 #14

Workflow file for this run

name: Build and Test
on:
pull_request:
push:
branches:
- master
jobs:
build-and-test:
name: Build and Test with GCC
runs-on: ubuntu-20.04
strategy:
matrix:
gcc: [ 7 ] #[7, 8, 9, 10]
steps:
- uses: actions/checkout@v3
- uses: lukka/get-cmake@latest
- name: Set up GCC
uses: egor-tensin/setup-gcc@v1
with:
version: ${{ matrix.gcc }}
platform: x64
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install Conan
env:
ARTIFACTORY_API_KEY: ${{ secrets.ARTIFACTORY_API_KEY }}
run: |
pip install --upgrade pip
pip install conan
conan profile detect --force
conan remote add edwardstock https://conan.edwardstock.com/artifactory/api/conan/conan-local
conan remote login -p $ARTIFACTORY_API_KEY edwardstock admin
- name: Run tests
run: $(which bash) ${{ github.workspace }}/test.sh
- name: Build deploy artifacts
run: $(which python3) ${{ github.workspace }}/deploy.py build
# - name: Upload deploy artifacts
# run: $(which python3) ./deploy.py upload