libsuperderpy/.gitlab-ci.yml
Sebastian Krzyszkowiak 566d8d9cd3
Add a GitLab CI pipeline
Builds with clang-tidy and runs tests.
2023-11-02 07:44:31 +01:00

10 lines
361 B
YAML

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