From 55497aaf19dfc28666e3d0c8063b2bbe14fa5dea Mon Sep 17 00:00:00 2001 From: hexa- Date: Sat, 19 Dec 2020 00:53:08 +0100 Subject: [PATCH] Added CI Pipline --- .gitlab-ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..c8fe70b --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,21 @@ +build: + stage: build + image: nixos/nix + variables: + QT_QPA_PLATFORM: "offscreen" + before_script: + - export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d)/" + - mkdir output + script: + - nix run nixpkgs.tiled -c tiled --export-map json w17.tmx output/w17.json + after_script: + - cp -R imgs output/imgs + artifacts: + untracked: false + paths: + - output + expire_in: 1 week + when: always + tags: + - as6766 +