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.
 
 
 
 

49 lines
1.2 KiB

  1. name: AppImage
  2. on:
  3. pull_request:
  4. branches: [master, features]
  5. release:
  6. types: [published]
  7. jobs:
  8. build-appimage:
  9. name: Build
  10. runs-on: ubuntu-latest
  11. steps:
  12. - uses: actions/checkout@v2
  13. - name: Prepare environment
  14. run: |
  15. sudo gem install ronn
  16. wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O /usr/local/bin/appimagetool
  17. sudo chmod +x /usr/local/bin/appimagetool
  18. pip install -U pip poetry appimage-builder
  19. poetry install
  20. - name: Build wheel
  21. run: |
  22. make i18n build
  23. - name: Build AppImage
  24. run: |
  25. make appimage
  26. - name: Upload AppImage
  27. uses: actions/upload-artifact@v2
  28. with:
  29. name: kosmorro.AppImage
  30. path: dist/kosmorro-latest-x86_64.AppImage
  31. - name: Upload AppImage version synchronization file
  32. uses: actions/upload-artifact@v2
  33. with:
  34. name: kosmorro.AppImage.zsync
  35. path: dist/kosmorro-latest-x86_64.AppImage.zsync
  36. - name: Run basic command
  37. run: |
  38. chmod +x dist/kosmorro-latest-x86_64.AppImage
  39. ./dist/kosmorro-latest-x86_64.AppImage