Commit b2be768f authored by Robert Izzard's avatar Robert Izzard
Browse files

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

parent edf5fce4
Loading
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
# libcdict CI build and tests

# We default to building on Ubuntu-latest
# then install the required tools, build and
# test.

default:
    image: ubuntu:latest
@@ -6,7 +11,7 @@ stages: # List of stages for jobs, and their order of execution
  - build
  - test

build-gcc:       # This job runs in the build stage, which runs first.
build-gcc:       # build libcdict using gcc
  stage: build
  script:
    - echo "Installing packages"
@@ -19,8 +24,8 @@ build-gcc: # This job runs in the build stage, which runs first.
    paths:
      - builddir

test-cdict:   # This job runs in the test stage.
  stage: test    # It only starts when the job in the build stage completes successfully.
test-cdict:   # run cdict-config to test libcdict build
  stage: test    
  dependencies:
    - build-gcc
  script: