2024-02-17 16:42:44 +01:00
|
|
|
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:
|
2024-03-12 22:59:28 +01:00
|
|
|
- '1.63'
|
|
|
|
- '2.1'
|
2024-02-17 16:42:44 +01:00
|
|
|
|
|
|
|
include:
|
|
|
|
# Conan 1 has default profiles installed
|
2024-03-12 22:59:28 +01:00
|
|
|
- conan_version: '1.63'
|
2024-02-17 16:42:44 +01:00
|
|
|
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
|