ccpp_ubuntu_gtk3.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. name: C/C++ Nightly ubuntu-GTK3
  2. on:
  3. push:
  4. branches:
  5. - Nigthly
  6. - nightly_dev
  7. - nightly_master
  8. - debug_ubuntu
  9. jobs:
  10. build:
  11. runs-on: ubuntu-20.04
  12. steps:
  13. - uses: actions/checkout@v3
  14. - name: Setup cmake
  15. uses: jwlawson/actions-setup-cmake@v1.13
  16. with:
  17. cmake-version: '3.16.x'
  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 gettext
  26. - name: build deps & slicer, tar & appimage
  27. run: ./BuildLinux.sh -dsi
  28. - name: Upload artifact
  29. uses: actions/upload-artifact@v1.0.0
  30. with:
  31. name: nightly_linux_gtk3.tar
  32. path: build/${{ github.event.repository.name }}.tar
  33. - name: Upload appimage
  34. uses: actions/upload-artifact@v1.0.0
  35. with:
  36. name: ${{ github.event.repository.name }}-gtk3.AppImage
  37. path: build/${{ github.event.repository.name }}_ubu64.AppImage