.gitlab-ci.yml 984 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. stages:
  2. - release
  3. build_release_linux:
  4. image: ubuntu:rolling
  5. stage: release
  6. when: manual
  7. before_script:
  8. - apt-get update && apt-get -y install build-essential wget cmake libsystemd-dev freeglut3 freeglut3-dev libglew1.5-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev libvulkan-dev
  9. - cd trackpoint-app
  10. - ./build-dependencies-first.sh release
  11. - mkdir build
  12. script:
  13. - cd build
  14. - cmake ..
  15. - cmake --build . --parallel
  16. artifacts:
  17. expire_in: 2 weeks
  18. paths:
  19. - trackpoint-app/build/TrackpointApp
  20. build_release_windows:
  21. image: ubuntu:rolling
  22. stage: release
  23. when: manual
  24. before_script:
  25. - apt-get update && apt-get -y install gcc-mingw-w64 wget cmake
  26. - cd trackpoint-app
  27. - ./build-dependencies-first.sh win-cross
  28. - mkdir build
  29. script:
  30. - cd build
  31. - cmake ..
  32. - cmake --build . --parallel
  33. artifacts:
  34. expire_in: 2 weeks
  35. paths:
  36. - trackpoint-app/build/TrackpointApp.exe