Linux PyQt tray application to control OctoPrint instances
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.yml 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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: Archive build result artifacts
  47. uses: actions/upload-artifact@v2
  48. with:
  49. name: octotray_win
  50. path: |
  51. ${{ github.workspace }}/build/dist/OctoTray_Win.zip