Skip to content

Commit

Permalink
Don't build on MacOS
Browse files Browse the repository at this point in the history
Make Linux and MacOS package compatible.
  • Loading branch information
jellespijker committed Jun 16, 2023
1 parent 1970567 commit d95ce3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/conan-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,6 @@ jobs:
with:
project_name: cura_binary_data

conan-package-export-macos:
needs: [ conan-recipe-version ]
uses: ultimaker/cura/.github/workflows/conan-recipe-export.yml@main
with:
recipe_id_full: ${{ needs.conan-recipe-version.outputs.recipe_id_full }}
recipe_id_latest: ${{ needs.conan-recipe-version.outputs.recipe_id_latest }}
runs_on: 'macos-10.15'
python_version: '3.10.x'
conan_logging_level: 'info'
conan_export_binaries: true
secrets: inherit

conan-package-export-linux:
needs: [ conan-recipe-version ]
uses: ultimaker/cura/.github/workflows/conan-recipe-export.yml@main
Expand Down
4 changes: 4 additions & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@ def package_info(self):
def package_id(self):
del self.info.settings.compiler
del self.info.settings.build_type
if self.settings.os != "Windows":
compatible_pkg = self.info.clone()
compatible_pkg.settings.os = "Linux"
self.compatible_packages.append(compatible_pkg)

0 comments on commit d95ce3d

Please sign in to comment.