Added CI Pipline
This commit is contained in:
parent
d2dbe8d944
commit
55497aaf19
1 changed files with 21 additions and 0 deletions
21
.gitlab-ci.yml
Normal file
21
.gitlab-ci.yml
Normal file
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue