- ln -s $PWD data/xonotic-data.pk3dir
+test_compilation_units:
+ stage: test
+ script:
+ - ./qcsrc/tools/compilationunits.sh
+
test_sv_unit:
stage: test
script:
script:
- wget -O data/g-23.pk3 http://beta.xonotic.org/autobuild-bsp/latest/g-23.pk3
- make
- - EXPECT=0920bfe86d0a02684fd67044233a092e
+ - EXPECT=8573348372f9b9f82183b01598950eb5
- HASH=$(${ENGINE} -noconfig -nohome +exec serverbench.cfg
| tee /dev/stderr
| grep '^:'
- git clone --single-branch --depth 1 ${DEPLOY_HOST}:${DEPLOY_REPO} ~/deploy_
- mkdir ~/deploy && mv ~/deploy_/.git ~/deploy && rm -r ~/deploy_
- cp -r ../public/* ~/deploy
- - cd ~/deploy && git add -A . && git commit -m "Update" && git push origin gh-pages
+ - cd ~/deploy && git add -A . && git commit -m "Deploy ${CI_BUILD_REF}" && git push origin gh-pages
artifacts:
paths:
- public