aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/catch2/.github/workflows/package-manager-builds.yaml
blob: 6d90d14054e5382f1e96f464b2c92615232ba238 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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.63'
          - '2.1'

        include:
          # Conan 1 has default profiles installed
          - conan_version: '1.63'
            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