conan-package.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. name: conan-package
  2. on:
  3. push:
  4. paths:
  5. - 'plugins/**'
  6. - 'cura/**'
  7. - 'resources/bundled_packages/**'
  8. - 'resources/i18n/**'
  9. - 'resources/qml/**'
  10. - 'resources/setting_visibility/**'
  11. - 'resources/shaders/**'
  12. - 'resources/texts/**'
  13. - 'resources/themes/**'
  14. - 'resources/public_key.pem'
  15. - 'resources/README_resources.txt'
  16. - 'icons/**'
  17. - 'tests/**'
  18. - 'packaging/**'
  19. - '.github/workflows/conan-package.yml'
  20. - '.github/workflows/notify.yml'
  21. - '.github/workflows/requirements-runner.txt'
  22. - 'requirements*.txt'
  23. - 'conanfile.py'
  24. - 'conandata.yml'
  25. - '*.jinja'
  26. branches:
  27. - 'main'
  28. - 'CURA-*'
  29. - 'PP-*'
  30. - 'NP-*'
  31. - '[0-9].[0-9]*'
  32. - '[0-9].[0-9][0-9]*'
  33. env:
  34. CONAN_LOGIN_USERNAME_CURA: ${{ secrets.CONAN_USER }}
  35. CONAN_PASSWORD_CURA: ${{ secrets.CONAN_PASS }}
  36. jobs:
  37. conan-recipe-version:
  38. uses: ultimaker/cura-workflows/.github/workflows/conan-recipe-version.yml@main
  39. with:
  40. project_name: cura
  41. conan-package-export:
  42. needs: [ conan-recipe-version ]
  43. uses: ultimaker/cura-workflows/.github/workflows/conan-recipe-export.yml@main
  44. with:
  45. recipe_id_full: ${{ needs.conan-recipe-version.outputs.recipe_id_full }}
  46. recipe_id_latest: ${{ needs.conan-recipe-version.outputs.recipe_id_latest }}
  47. secrets: inherit
  48. conan-package-create:
  49. needs: [ conan-recipe-version, conan-package-export ]
  50. uses: ultimaker/cura-workflows/.github/workflows/conan-package-create-linux.yml@main
  51. with:
  52. recipe_id_full: ${{ needs.conan-recipe-version.outputs.recipe_id_full }}
  53. conan_extra_args: "-o cura:enable_i18n=True"
  54. secrets: inherit