.gitlab-ci.yml 412 Bytes
Newer Older
Roger Sen's avatar
Roger Sen committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
build:
  stage: build
  # instead of calling g++ directly you can also use some build toolkit like make
  # install the necessary build tools when needed
  # before_script: 
  #   - apt update && apt -y install make autoconf 
  script: 
    - ./configure
    - make
    - make install
  
# run tests using the binary built before
test:
  stage: test
  script:
    - ./configure
    - cd ./build/tests/
    - make