Linux PyQt tray application to control OctoPrint instances
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

build.yml 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. name: Build Distribution Packages
  2. on: [push]
  3. jobs:
  4. build_mac:
  5. runs-on: macos-latest
  6. steps:
  7. - name: Checkout repository
  8. uses: actions/checkout@v2
  9. - name: Install Python Environment
  10. uses: actions/setup-python@v2
  11. with:
  12. python-version: 3.9
  13. - name: Install dependencies
  14. run: |
  15. python -m pip install --upgrade pip
  16. pip install PyQt5
  17. pip install py2exe
  18. - name: Run Mac build
  19. run: |
  20. ./build_mac.sh
  21. - name: Archive build result artifacts
  22. uses: actions/upload-artifact@v2
  23. with:
  24. name: octotray_mac
  25. path: |
  26. ${{ github.workspace }}/build/dist/OctoTray_Mac.zip
  27. build_windows:
  28. runs-on: windows-latest
  29. steps:
  30. - name: Checkout repository
  31. uses: actions/checkout@v2
  32. - name: Install Python Environment
  33. uses: actions/setup-python@v2
  34. with:
  35. python-version: 3.7
  36. - name: Install dependencies
  37. run: |
  38. python -m pip install --upgrade pip
  39. pip install PyQt5
  40. pip install py2exe
  41. shell: bash
  42. - name: Run Windows build
  43. run: |
  44. ./build_win.sh
  45. shell: bash
  46. - name: Show build results
  47. run: |
  48. ls build/win
  49. ls build/dist
  50. shell: bash