.gitlab-ci.yml 830 B

12345678910111213141516171819202122232425
  1. # This file is a template, and might need editing before it works on your project.
  2. # use the official gcc image, based on debian
  3. # can use verions as well, like gcc:5.2
  4. # see https://hub.docker.com/_/gcc/
  5. image: gcc
  6. build:
  7. stage: build
  8. # instead of calling g++ directly you can also use some build toolkit like make
  9. # install the necessary build tools when needed
  10. before_script:
  11. - sudo apt update && sudo apt -y install meson valac libgtk-3-dev gobject-introspection xvfb valadoc libgirepository1.0-dev
  12. script:
  13. - mkdir build && cd build && meson .. && ninja
  14. - cd test && xvfb-run ./gflow_test
  15. artifacts:
  16. paths:
  17. - libgtkflow.so
  18. - libgflow.so
  19. # depending on your build setup it's most likely a good idea to cache outputs to reduce the build time
  20. # cache:
  21. # paths:
  22. # - "*.o"