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: variables:
BUILD_NAME: game BUILD_NAME: game
GODOT_VERSION: 3.0.6 # GODOT_VERSION: 3.0.6
GODOT_VARIANT: stable # GODOT_VARIANT: stable
purism: purism:
stage: build stage: build
before_script: before_script:
- apt-get update -q - mkdir -v -p ./build
- apt-get install -yq wget unzip # - apt-get update -q
- mkdir -v -p ./downloads ./build # - apt-get install -yq wget unzip
- mkdir -v -p ~/.local/share/godot/templates ~/.cache ~/.config/godot # - mkdir -v -p ./downloads ./build
- cd ./downloads # - mkdir -v -p ~/.local/share/godot/templates ~/.cache ~/.config/godot
- wget "http://download.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-${GODOT_VARIANT}_linux_headless.64.zip" # - cd ./downloads
- wget "http://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-${GODOT_VARIANT}_export_templates.tpz" # - wget "http://download.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-${GODOT_VARIANT}_linux_headless.64.zip"
- unzip Godot_v*_linux_headless.64.zip # - wget "http://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-${GODOT_VARIANT}_export_templates.tpz"
- unzip Godot_v*_export_templates.tpz # - unzip Godot_v*_linux_headless.64.zip
- mv -v Godot_v*_linux_headless.64 /bin/godot # - unzip Godot_v*_export_templates.tpz
- mv -v templates ~/.local/share/godot/templates/${GODOT_VERSION}.${GODOT_VARIANT} # - mv -v Godot_v*_linux_headless.64 /bin/godot
- cd .. # - mv -v templates ~/.local/share/godot/templates/${GODOT_VERSION}.${GODOT_VARIANT}
- rm -rf ./downloads # - cd ..
# - rm -rf ./downloads
script: script:
- godot -v -q --path ./game --export "Linux/X11" ../build/$BUILD_NAME.x64 - godot -v -q --path ./game --export "Linux/X11" ../build/$BUILD_NAME.x64
artifacts: artifacts:
......
...@@ -11,6 +11,7 @@ config_version=3 ...@@ -11,6 +11,7 @@ config_version=3
[application] [application]
config/name="FlossyGnu" config/name="FlossyGnu"
run/main_scene="res://Game.tscn"
config/icon="res://icon.png" config/icon="res://icon.png"
[rendering] [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