Commit 436c1999 authored by Robert Izzard's avatar Robert Izzard
Browse files

Update .gitlab-ci.yml file with build and test

parent db38c4e8
Loading
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+22 −0
Original line number Diff line number Diff line

stages:          # List of stages for jobs, and their order of execution
  - build
  - test

build-job:       # This job runs in the build stage, which runs first.
  stage: build
  script:
    - echo "Compiling libcdict..."
    - meson setup --buildtype release builddir
    - ninja -C builddir
    - echo "Compile of libcdict complete."

unit-test-job:   # This job runs in the test stage.
  stage: test    # It only starts when the job in the build stage completes successfully.
  script:
    - echo "Running libcdict tests..."
    - ./builddir/cdict-config --tests
    - echo "Test of libcdict complete."