ccpp_ubuntu_gtk3_rc.yml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. name: C/C++ Release candidate ubuntu-GTK3
  2. on:
  3. push:
  4. branches:
  5. - rc
  6. jobs:
  7. build:
  8. runs-on: ubuntu-18.04
  9. env:
  10. EXEC_NAME: "${{ github.event.repository.name }}"
  11. steps:
  12. - uses: actions/checkout@v2
  13. with:
  14. ref: 'rc'
  15. - name: update submodule profiles
  16. working-directory: ./resources/profiles
  17. run: git submodule update --init
  18. - name: change date in version
  19. run: sed -i "s/+UNKNOWN/_$(date '+%F')/" version.inc
  20. - name: update clock
  21. run: sudo hwclock -s
  22. - name: update apt
  23. run: sudo apt update
  24. - name: install gtk3 glew
  25. run: sudo apt install libgtk-3-dev libglew-dev libudev-dev libdbus-1-dev
  26. - name: build deps & slicer
  27. run: ./BuildLinux.sh -ds
  28. - name: make .pot
  29. working-directory: ./build
  30. run: make gettext_make_pot
  31. - name: build tar & appimage
  32. working-directory: ./build
  33. run: src/BuildLinuxImage.sh -i
  34. - name: Upload artifact
  35. uses: actions/upload-artifact@v1.0.0
  36. with:
  37. name: rc_linux_gtk3.tar
  38. path: build/${{ github.event.repository.name }}.tar
  39. - name: Upload appimage
  40. uses: actions/upload-artifact@v1.0.0
  41. with:
  42. name: rc-${{ github.event.repository.name }}-gtk3.AppImage
  43. path: build/${{ github.event.repository.name }}_ubu64.AppImage