khanat-client/.gitlab-ci.yml

27 lines
1 KiB
YAML
Raw Normal View History

2021-09-28 08:30:28 +00:00
stages:
- build
Khanat client linux 64:
stage: build
tags:
- Docker
image: debian:latest
script:
- apt-get update
- apt-get -y upgrade
- apt-get install --no-install-recommends -y build-essential scons pkg-config libx11-dev libxcursor-dev libxinerama-dev libgl1-mesa-dev libglu-dev libasound2-dev libpulse-dev libudev-dev libxi-dev libxrandr-dev yasm wget unzip
- wget -q https://downloads.tuxfamily.org/godotengine/3.3.3/Godot_v3.3.3-stable_linux_server.64.zip
- wget -q https://downloads.tuxfamily.org/godotengine/3.3.3/Godot_v3.3.3-stable_export_templates.tpz
- unzip Godot_v3.3.3-stable_linux_headless.64.zip
- unzip Godot_v3.3.3-stable_export_templates.tpz
- mkdir -p ~/bin ~/.cache ~/.config/godot ~/.local/share/godot/templates/$3.3.3.stable
- mv templates/* ~/.local/share/godot/templates/3.3.3.stable
- ./Godot_v3.3.3-stable_linux_headless.64 -v --export "Linux/X11"
artifacts:
name: "khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-client-linux-64"
paths:
when: manual