conan-io / conan-package-tools

Conan Package Tools. Helps with massive package creation and CI integration (Travis CI, Appveyor...)
MIT License
166 stars 71 forks source link

Add support for GitHub Actions #475

Closed Croydon closed 4 years ago

Croydon commented 4 years ago

Changelog: Feature: Add support for GitHub Actions

Fixes https://github.com/conan-io/conan-package-tools/issues/474

uilianries commented 4 years ago

That's great! Thanks a lot @Croydon

annulen commented 4 years ago

Could you suggest any Conan recipe repository with multiplatform (i.e. different compilers, operating systems) build matrix which could be used as a template?

Croydon commented 4 years ago

At Bincrafters we use GitHub Actions only for Linux so far

You can see our template at https://github.com/bincrafters/templates/blob/32ab0bae69c58c3c842e4aba502687d9e9ccaebf/default/.github/workflows/conan.yml#L1

And see an example e.g. at https://github.com/bincrafters/conan-qt/actions or https://github.com/bincrafters/conan-cairo/actions

annulen commented 4 years ago

Thanks! msvc.yml and mingw.yml from Qt are particularly useful. My main use cases are:

Croydon commented 4 years ago

There is no image with VS2015, though I guess it should be possible to install it via chocolatey

Regarding this, please consider upvoting https://github.com/actions/virtual-environments/issues/387

Installing VS2015 on the fly takes way too long