Build with github vm's only #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Create Conan Package" | |
on: push | |
jobs: | |
build_linux_x86_64: | |
name: "Linux" | |
uses: Privatehive/conan-workflows/.github/workflows/createPackage.yml@master | |
with: | |
image: "ubuntu-20.04" | |
conan_remotes: https://conan.privatehive.de/artifactory/api/conan/public-conan | |
conan_options: "qt/*:GUI=True,qt/*:opengl=desktop,qt/*:qtbase=True,qt/*:widgets=True,qt/*:qtdeclarative=True,qt/*:qtsvg=True" | |
build_windows_x86_64: | |
name: "Windows" | |
uses: Privatehive/conan-workflows/.github/workflows/createPackage.yml@master | |
with: | |
image: "windows-2022" | |
conan_host_profile: "windowsMinGW" | |
conan_remotes: https://conan.privatehive.de/artifactory/api/conan/public-conan | |
conan_options: "qt/*:GUI=True,qt/*:opengl=desktop,qt/*:qtbase=True,qt/*:widgets=True,qt/*:qtdeclarative=True,qt/*:qtsvg=True" | |
build_macos_armv8: | |
name: "Macos" | |
uses: Privatehive/conan-workflows/.github/workflows/createPackage.yml@master | |
with: | |
image: "macos-14" | |
conan_remotes: https://conan.privatehive.de/artifactory/api/conan/public-conan | |
conan_options: "qt/*:GUI=True,qt/*:opengl=desktop,qt/*:qtbase=True,qt/*:widgets=True,qt/*:qtdeclarative=True,qt/*:qtsvg=True" | |
build_linux_qt_host: | |
name: "Linux_Host" | |
uses: Privatehive/conan-workflows/.github/workflows/createPackage.yml@master | |
with: | |
image: "ubuntu-20.04" | |
conan_remotes: https://conan.privatehive.de/artifactory/api/conan/public-conan | |
conan_options: "qt/*:config=host" | |
export_conan_cache: true | |
build_android_x86: | |
name: "Android" | |
uses: Privatehive/conan-workflows/.github/workflows/createPackage.yml@master | |
needs: [ build_linux_qt_host ] | |
if: ${{ success() }} | |
with: | |
image: "ubuntu-20.04" | |
conan_host_profile: "androidx86" | |
conan_remotes: https://conan.privatehive.de/artifactory/api/conan/public-conan | |
conan_options: "qt/*:GUI=True,qt/*:qtbase=True,qt/*:widgets=True,qt/*:qtdeclarative=True,qt/*:qtsvg=True" | |
import_conan_cache: true | |
build_android_x86_64: | |
name: "Android" | |
uses: Privatehive/conan-workflows/.github/workflows/createPackage.yml@master | |
needs: [ build_linux_qt_host ] | |
if: ${{ success() }} | |
with: | |
image: "ubuntu-20.04" | |
conan_host_profile: "androidx86_64" | |
conan_remotes: https://conan.privatehive.de/artifactory/api/conan/public-conan | |
conan_options: "qt/*:GUI=True,qt/*:qtbase=True,qt/*:widgets=True,qt/*:qtdeclarative=True,qt/*:qtsvg=True" | |
import_conan_cache: true | |
build_android_armv7: | |
name: "Android" | |
uses: Privatehive/conan-workflows/.github/workflows/createPackage.yml@master | |
needs: [ build_linux_qt_host ] | |
if: ${{ success() }} | |
with: | |
image: "ubuntu-20.04" | |
conan_host_profile: "androidArmv7" | |
conan_remotes: https://conan.privatehive.de/artifactory/api/conan/public-conan | |
conan_options: "qt/*:GUI=True,qt/*:qtbase=True,qt/*:widgets=True,qt/*:qtdeclarative=True,qt/*:qtsvg=True" | |
import_conan_cache: true | |
build_android_armv8: | |
name: "Android" | |
uses: Privatehive/conan-workflows/.github/workflows/createPackage.yml@master | |
needs: [ build_linux_qt_host ] | |
if: ${{ success() }} | |
with: | |
image: "ubuntu-20.04" | |
conan_host_profile: "androidArmv8" | |
conan_remotes: https://conan.privatehive.de/artifactory/api/conan/public-conan | |
conan_options: "qt/*:GUI=True,qt/*:qtbase=True,qt/*:widgets=True,qt/*:qtdeclarative=True,qt/*:qtsvg=True" | |
import_conan_cache: true | |
upload_recipe: | |
name: "Finalize" | |
uses: Privatehive/conan-workflows/.github/workflows/uploadRecipe.yml@master | |
needs: [ build_linux_x86_64, build_windows_x86_64, build_macos_armv8, build_android_x86, build_android_x86_64, build_android_armv7, build_android_armv8 ] | |
if: ${{ success() }} | |
secrets: inherit | |
with: | |
publish_property: ${{ github.ref == 'refs/heads/master' }} | |
conan_upload_remote: https://conan.privatehive.de/artifactory/api/conan/public-conan |