ccpp_ubuntu_gtk3.yml 1.3 KB

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