mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-30 01:03:30 +01:00
32 lines
701 B
YAML
32 lines
701 B
YAML
|
name: Package Manager Builds
|
||
|
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
conan_builds:
|
||
|
name: Conan ${{matrix.conan_version}}
|
||
|
runs-on: ubuntu-20.04
|
||
|
strategy:
|
||
|
matrix:
|
||
|
conan_version:
|
||
|
- '1.62'
|
||
|
- '2.0'
|
||
|
|
||
|
include:
|
||
|
# Conan 1 has default profiles installed
|
||
|
- conan_version: '1.62'
|
||
|
profile_generate: 'false'
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v4
|
||
|
|
||
|
- name: Install conan
|
||
|
run: pip install conan==${{matrix.conan_version}}
|
||
|
|
||
|
- name: Setup conan profiles
|
||
|
if: matrix.profile_generate != 'false'
|
||
|
run: conan profile detect
|
||
|
|
||
|
- name: Run conan package create
|
||
|
run: conan create . -tf .conan/test_package
|