Skip to content
Snippets Groups Projects
Commit 61b25a25 authored by Will Morris's avatar Will Morris
Browse files

Added test stage to .gitlab-ci.yml

parent 8077892b
No related branches found
No related tags found
No related merge requests found
Pipeline #5683 failed
...@@ -2,14 +2,16 @@ ...@@ -2,14 +2,16 @@
# Mandelbrot: Gitlab-CI Config: # Mandelbrot: Gitlab-CI Config:
# ============================= # =============================
# The stages where jobs run. Each stage contains one or more jobs that run independently from one another # Stages
# Use stages to define dependencies and artifacts from previous stages. # =============================
stages: stages:
- build - build
- compile - compile
- test # - test
- submit - submit
# Jobs
# =============================
# Stage: build # Stage: build
compile-mandelbrot: compile-mandelbrot:
stage: build stage: build
...@@ -33,3 +35,19 @@ submit-mandelbrot: ...@@ -33,3 +35,19 @@ submit-mandelbrot:
- mandelbrot.ppm - mandelbrot.ppm
tags: tags:
- macosx - 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment