Skip to content

Commit

Permalink
Add gcc:8 to GitLab CI test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Frust committed Jul 9, 2019
1 parent 8703e23 commit 20412e4
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,32 @@
build:gcclatest:
image: gcc:latest
.build: &build
stage: build
script:
- g++ src/helloworld.cpp -o helloWorld
artifacts:
paths:
- helloWorld

test:gcclatest:
image: gcc:latest
.test: &test
stage: test
script:
- ./helloWorld

build:gcc:latest:
image: gcc:latest
<<: *build

build:gcc:8:
image: gcc:8
<<: *build

test:gcc:latest:
image: gcc:latest
<<: *test
dependencies:
- build:gcc:latest

test:gcc:8:
image: gcc:8
<<: *test
dependencies:
- build:gcclatest
- build:gcc:8

0 comments on commit 20412e4

Please sign in to comment.