ccpp_ubuntu_gtk3_debug.yml 1.3 KB

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