diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4978015f8dd99035b9ba9ec09d0ae0b5642e62a8..13f1efac4d9d4c8b21f72c289da482f22e5b7971 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,14 @@ image: ralfjung/opam-ci:latest +stages: + - build + - opam + variables: CPU_CORES: "9" .template: &template + stage: build tags: - fp-timing script: @@ -23,6 +28,11 @@ variables: - master - /^ci/ +opam: + stage: opam + script: + # Send a trigger to the repository doing the work + - curl --fail -X POST -F "token=$OPAM_UPDATE_SECRET" -F "ref=master" -F "variables[REPO]=${CI_PROJECT_URL}.git" -F "variables[REF]=$CI_COMMIT_REF_NAME" -F "variables[SHA]=$CI_COMMIT_SHA" -F "variables[NAME]=coq-stdpp" https://gitlab.mpi-sws.org/api/v3/projects/581/trigger/builds stdpp-coq8.7: <<: *template