.gitlab-ci.yml 1.1 KB
Newer Older
Razvan Radulescu's avatar
Razvan Radulescu committed
1 2
image: ioribranford/godot-docker:latest

Razvan Radulescu's avatar
Razvan Radulescu committed
3 4
variables:
  BUILD_NAME: game
Razvan Radulescu's avatar
Razvan Radulescu committed
5 6
  # GODOT_VERSION: 3.0.6
  # GODOT_VARIANT: stable
Razvan Radulescu's avatar
Razvan Radulescu committed
7 8 9 10

purism:
  stage: build
  before_script:
Razvan Radulescu's avatar
Razvan Radulescu committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24
    - 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
Razvan Radulescu's avatar
Razvan Radulescu committed
25
  script:
Razvan Radulescu's avatar
Razvan Radulescu committed
26
    - godot -v -q --path ./game --export "Linux/X11" ../build/$BUILD_NAME.x64
Razvan Radulescu's avatar
Razvan Radulescu committed
27 28 29 30
  artifacts:
    name: $BUILD_NAME-$CI_JOB_NAME
    paths:
      - ./build
Razvan Radulescu's avatar
Razvan Radulescu committed
31 32
  tags:
    - librem5