Skip to content

Commit

Permalink
ci: add a simple cmake build test
Browse files Browse the repository at this point in the history
We still support only meson. But to avoid super easy regressions such as
the previous commit, we add a very basic cmake build test. We don't care
about the compiler all we want is to avoid super simple breakage.

Signed-off-by: Patrick Bruenn <[email protected]>
  • Loading branch information
pbruenn committed Dec 13, 2024
1 parent e680e30 commit 6259232
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,22 @@ build-alpine:
before_script:
- apk add g++ meson

build-cmake:
stage: build
tags:
- docker
script:
- cmake -S . -B build
- cmake --build build
- cmake -S ./example -B example/build
- cmake --build example/build
artifacts:
when: always
paths:
- AdsLib/**/*.h
- build/
- example/build/

build-linux-clang:
extends: .build-meson-docker
variables:
Expand Down

0 comments on commit 6259232

Please sign in to comment.