mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 09:38:19 +00:00
Add basic extensible gitlab CI
This commit is contained in:
parent
66ab84a5fa
commit
fccf89d485
2
.gitlab-ci.yml
Normal file
2
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
include: '.gitlab/*.yml'
|
||||
|
25
.gitlab/build.yml
Normal file
25
.gitlab/build.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
image: ubuntu:22.04
|
||||
|
||||
stages:
|
||||
- test
|
||||
|
||||
|
||||
build_cmake:
|
||||
before_script:
|
||||
- apt-get update -y
|
||||
- apt-get upgrade -y
|
||||
- apt-get install
|
||||
pkg-config
|
||||
clang
|
||||
cmake ninja-build
|
||||
libfreetype6-dev libnotify-dev libsdl2-dev libsqlite3-dev libvulkan-dev
|
||||
glslang-tools spirv-tools libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev
|
||||
libx264-dev libpng-dev
|
||||
libcurl4 libcurl3-gnutls libcurl4-openssl-dev libcurlpp-dev
|
||||
libogg-dev libopus-dev libopusfile-dev
|
||||
valgrind -y
|
||||
stage: test
|
||||
script:
|
||||
- mkdir build && cd build
|
||||
- cmake ..
|
||||
- make -j$(nproc)
|
Loading…
Reference in a new issue