Only Conan and Github won't be able to solve your problem, but you can use Circle CI to trigger a new build when the first build pass.
https://circleci.com/docs/2.0/api-job-trigger/
version: 2
.build-steps: &build-steps
steps:
- checkout
- run:
name: Build project
command: .circleci/run.sh
- run:
name: Trigger Conan build
command: curl --user ${CIRCLE_API_USER_TOKEN}: \
--data build_parameters[CIRCLE_JOB]=build_conan \
--data revision=$CIRCLE_SHA1 \
https://circleci.com/api/v1.1/project/github/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/tree/$CIRCLE_BRANCH
jobs:
xcode10:
macos:
xcode: "10.2"
<<: *build-steps
gcc-7:
docker:
- image: conanio/gcc9
<<: *build-steps
workflows:
version: 2
build_and_test:
jobs:
- gcc-9
- xcode10
The example above shows a YAML file which contains a generic build for Linux and OSX, where the curl
command is executed to trigger the Conan build. Of course, you will need to customize that command with your project parameters.
This idea can be reproduced on Travis CI, Appveyor, Gitlab CI, Azure ...
Regards!