mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
Add a GitLab CI pipeline
Builds with clang-tidy and runs tests.
This commit is contained in:
parent
7be786b88f
commit
566d8d9cd3
1 changed files with 10 additions and 0 deletions
10
.gitlab-ci.yml
Normal file
10
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
test:
|
||||||
|
image: debian:bookworm
|
||||||
|
before_script:
|
||||||
|
- apt-get -y update && apt-get -y install build-essential clang-tidy xvfb libcmocka-dev ninja-build cmake liballegro5-dev
|
||||||
|
- echo "pcm.!default { type null }" > /etc/asound.conf
|
||||||
|
script:
|
||||||
|
- mkdir build && cd build
|
||||||
|
- cmake .. -GNinja -DUSE_CLANG_TIDY=ON
|
||||||
|
- ninja
|
||||||
|
- xvfb-run test/engine-tests
|
Loading…
Reference in a new issue