Skip to content

Commit

Permalink
CI/CD: add test stage
Browse files Browse the repository at this point in the history
  • Loading branch information
zinccyy committed Dec 14, 2022
1 parent a517ccf commit d603fbe
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ variables:

stages:
- build
- test

# install libraries
before_script:
Expand Down Expand Up @@ -52,4 +53,14 @@ build:sanitized_memory:
- cmake --build build-sanitized-memory/
artifacts:
paths:
- build-sanitized-memory/
- build-sanitized-memory/

test:default:
stage: test
needs: ["build:default"]
script:
- cd build
- ctest -V
artifacts:
paths:
- build/

0 comments on commit d603fbe

Please sign in to comment.