summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-02-07 21:25:56 +0000
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-02-07 21:25:56 +0000
commit0ca05c54dd814f294617eda286ef175f01baa542 (patch)
treef7d92175688e8fe8e95cbb2e87b232fbc50fe83f /.gitlab-ci.yml
parent386fdd02304d1ef231db8ce7ec90b0dc8227d739 (diff)
downloadmana-0ca05c54dd814f294617eda286ef175f01baa542.tar.gz
mana-0ca05c54dd814f294617eda286ef175f01baa542.tar.bz2
mana-0ca05c54dd814f294617eda286ef175f01baa542.tar.xz
mana-0ca05c54dd814f294617eda286ef175f01baa542.zip
Introduce .gitlab-ci.yml
This just checks that the client compiles on Ubuntu for now. Also fixed a PhysicsFS linker issue introduced in ffa8ea13fbf50ad59d9fc4cea71b9aec4aca8bac...
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..915a8151
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,27 @@
+stages:
+ - build
+
+default:
+ image: ubuntu:22.04
+
+ubuntu-build:
+ stage: build
+ script:
+ - apt update
+ - apt install -y
+ build-essential
+ cmake
+ gettext
+ libcurl4-openssl-dev
+ libguichan-dev
+ libphysfs-dev
+ libpng-dev
+ libsdl2-dev
+ libsdl2-gfx-dev
+ libsdl2-image-dev
+ libsdl2-mixer-dev
+ libsdl2-net-dev
+ libsdl2-ttf-dev
+ libxml2-dev
+ - cmake .
+ - cmake --build . --parallel