Linux PyQt tray application to control OctoPrint instances
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

build.yml 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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: Create archive of build results
  47. run: |
  48. powershell Compress-Archive build/dist/win build/dist/OctoTray_Win.zip
  49. - name: Archive build result artifacts
  50. uses: actions/upload-artifact@v2
  51. with:
  52. name: octotray_win
  53. path: |
  54. ${{ github.workspace }}/build/dist/OctoTray_Win.zip