conan #25
Workflow file for this run
This file contains hidden or 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: | |
| release: | |
| types: [published] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - { os: ubuntu-24.04, compiler: clang-18 } | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: set up python 3.12 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.12 | |
| - name: install python dependencies | |
| run: pip install --upgrade pip conan | |
| - name: conan remote | |
| run: conan remote add odr https://artifactory.opendocument.app/artifactory/api/conan/conan | |
| - name: conan config | |
| run: conan config install .github/config/${{ matrix.os }}-${{ matrix.compiler }}/conan | |
| - name: get version | |
| run: echo "VERSION=${GITHUB_REF_NAME:1}" >> $GITHUB_ENV | |
| - name: create conan package | |
| run: conan create conanfile.py --name odrcore --version ${VERSION} --build missing | |
| - name: conan login | |
| run: conan remote login odr admin --password ${{ secrets.ARTIFACTORY }} | |
| - name: upload to conan repo | |
| run: conan upload "*" --remote odr --confirm |