Commit a4dc5b6c authored by Razvan Radulescu's avatar Razvan Radulescu
Browse files

Try docker image instead

It's very strange but on gitlab.com I managed to build a project with
the same set-up as the commented lines here. It might have to do with
the custom docker executor, but I have no idea why.

Let's try a docker image that seemed to work.

Might be related: https://github.com/godotengine/godot/issues/16949
parent 2787d28a
Pipeline #4887 failed with stage
in 38 seconds
image: ioribranford/godot-docker:latest
variables:
BUILD_NAME: game
GODOT_VERSION: 3.0.6
GODOT_VARIANT: stable
# GODOT_VERSION: 3.0.6
# GODOT_VARIANT: stable
purism:
stage: build
before_script:
- apt-get update -q
- apt-get install -yq wget unzip
- mkdir -v -p ./downloads ./build
- mkdir -v -p ~/.local/share/godot/templates ~/.cache ~/.config/godot
- cd ./downloads
- wget "http://download.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-${GODOT_VARIANT}_linux_headless.64.zip"
- wget "http://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-${GODOT_VARIANT}_export_templates.tpz"
- unzip Godot_v*_linux_headless.64.zip
- unzip Godot_v*_export_templates.tpz
- mv -v Godot_v*_linux_headless.64 /bin/godot
- mv -v templates ~/.local/share/godot/templates/${GODOT_VERSION}.${GODOT_VARIANT}
- cd ..
- rm -rf ./downloads
- mkdir -v -p ./build
# - apt-get update -q
# - apt-get install -yq wget unzip
# - mkdir -v -p ./downloads ./build
# - mkdir -v -p ~/.local/share/godot/templates ~/.cache ~/.config/godot
# - cd ./downloads
# - wget "http://download.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-${GODOT_VARIANT}_linux_headless.64.zip"
# - wget "http://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-${GODOT_VARIANT}_export_templates.tpz"
# - unzip Godot_v*_linux_headless.64.zip
# - unzip Godot_v*_export_templates.tpz
# - mv -v Godot_v*_linux_headless.64 /bin/godot
# - mv -v templates ~/.local/share/godot/templates/${GODOT_VERSION}.${GODOT_VARIANT}
# - cd ..
# - rm -rf ./downloads
script:
- godot -v -q --path ./game --export "Linux/X11" ../build/$BUILD_NAME.x64
artifacts:
......
......@@ -11,6 +11,7 @@ config_version=3
[application]
config/name="FlossyGnu"
run/main_scene="res://Game.tscn"
config/icon="res://icon.png"
[rendering]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment