ccpp_ubuntu_gtk3_debug.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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: 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 libssl-dev libcurl4-openssl-dev gettext
  25. - name: build deps & slicer, tar & appimage
  26. run: ./BuildLinux.sh -bdsi
  27. - name: Upload artifact
  28. uses: actions/upload-artifact@v1.0.0
  29. with:
  30. name: nightly_linux_gtk3.tar
  31. path: build/${{ github.event.repository.name }}.tar
  32. - name: Upload appimage
  33. uses: actions/upload-artifact@v1.0.0
  34. with:
  35. name: ${{ github.event.repository.name }}-gtk3.AppImage
  36. path: build/${{ github.event.repository.name }}_ubu64.AppImage