diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 586d07bcd7b16a3d06ac4ceedd8260eec008ce84..f68fa94b4f08aba6cb16dd5593bf72b1ddf26bde 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,14 +2,16 @@ # Mandelbrot: Gitlab-CI Config: # ============================= -# The stages where jobs run. Each stage contains one or more jobs that run independently from one another -# Use stages to define dependencies and artifacts from previous stages. +# Stages +# ============================= stages: - build - compile - - test + # - test - submit +# Jobs +# ============================= # Stage: build compile-mandelbrot: stage: build @@ -33,3 +35,19 @@ submit-mandelbrot: - mandelbrot.ppm tags: - macosx + # Keyword for specified branch to run on + only: + - master + +# Stage: submit +compile-mandelbrot: + stage: build + script: + - gcc mandelbrot.c + artifacts: + paths: + - a.out + tags: + - macosx + only: + - condor