Skip to content

Commit

Permalink
Add iOS ci job
Browse files Browse the repository at this point in the history
  • Loading branch information
Tereius committed Dec 22, 2024
1 parent a6bafcf commit 2fb30c5
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
name: "Linux"
uses: Privatehive/conan-workflows/.github/workflows/createPackage.yml@master
with:
name: "x86_64"
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"
Expand All @@ -14,6 +15,7 @@ jobs:
name: "Windows"
uses: Privatehive/conan-workflows/.github/workflows/createPackage.yml@master
with:
name: "x86_64"
image: "windows-2022"
conan_host_profile: "windowsMinGW"
conan_remotes: https://conan.privatehive.de/artifactory/api/conan/public-conan
Expand All @@ -23,14 +25,26 @@ jobs:
name: "Macos"
uses: Privatehive/conan-workflows/.github/workflows/createPackage.yml@master
with:
name: "armv8"
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_macos_qt_host:
name: "Macos"
uses: Privatehive/conan-workflows/.github/workflows/createPackage.yml@master
with:
name: "Qt host armv8"
image: "macos-14"
conan_remotes: https://conan.privatehive.de/artifactory/api/conan/public-conan
conan_options: "qt/*:config=host"
export_conan_cache: true

build_linux_qt_host:
name: "Linux_Host"
uses: Privatehive/conan-workflows/.github/workflows/createPackage.yml@master
with:
name: "Qt host x86_64"
image: "ubuntu-20.04"
conan_remotes: https://conan.privatehive.de/artifactory/api/conan/public-conan
conan_options: "qt/*:config=host"
Expand All @@ -42,6 +56,7 @@ jobs:
needs: [ build_linux_qt_host ]
if: ${{ success() }}
with:
name: "x86"
image: "ubuntu-20.04"
conan_host_profile: "androidx86"
conan_remotes: https://conan.privatehive.de/artifactory/api/conan/public-conan
Expand All @@ -54,6 +69,7 @@ jobs:
needs: [ build_linux_qt_host ]
if: ${{ success() }}
with:
name: "x86_64"
image: "ubuntu-20.04"
conan_host_profile: "androidx86_64"
conan_remotes: https://conan.privatehive.de/artifactory/api/conan/public-conan
Expand All @@ -66,6 +82,7 @@ jobs:
needs: [ build_linux_qt_host ]
if: ${{ success() }}
with:
name: "armv7"
image: "ubuntu-20.04"
conan_host_profile: "androidArmv7"
conan_remotes: https://conan.privatehive.de/artifactory/api/conan/public-conan
Expand All @@ -78,16 +95,30 @@ jobs:
needs: [ build_linux_qt_host ]
if: ${{ success() }}
with:
name: "armv8"
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

build_ios_armv8:
name: "iOS"
uses: Privatehive/conan-workflows/.github/workflows/createPackage.yml@master
needs: [ build_macos_qt_host ]
if: ${{ success() }}
with:
name: "armv8"
image: "macos-14"
conan_host_profile: "iosArmv8"
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 ]
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, build_ios_armv8 ]
if: ${{ success() }}
secrets: inherit
with:
Expand Down

0 comments on commit 2fb30c5

Please sign in to comment.