.gitlab-ci.yml 878 B

1234567891011121314151617181920212223242526272829303132333435
  1. stages:
  2. - build
  3. - deploy
  4. build:
  5. stage: build
  6. before_script:
  7. - apt-get update
  8. - apt-get install -y make cmake build-essential
  9. - apt-get install -y qtbase5-dev qt5-qmake
  10. - wget -O dry.zip https://gitlab.com/luckeyproductions/dry/-/jobs/artifacts/master/download?job=dry-debian
  11. - unzip dry.zip; rm dry.zip
  12. script:
  13. - qmake heXon.pro; make
  14. artifacts:
  15. name: 'hexon'
  16. paths:
  17. - hexon
  18. - Resources
  19. deploy:
  20. stage: deploy
  21. when: manual
  22. only:
  23. refs:
  24. - master
  25. script:
  26. - apt-get install -y curl unzip
  27. - mkdir heXon
  28. - cp -r Resources/ heXon/Resources/
  29. - mv hexon heXon/
  30. - curl -L -o butler.zip https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default
  31. - unzip butler.zip
  32. - ./butler push heXon/ luckeyproductions/hexon:linux-64bit