ccpp_ubuntu_gtk3_debug.yml 1.4 KB

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