2 - git clone --depth=1 --branch=master https://gitlab.com/xonotic/darkplaces.git darkplaces
3 - cd darkplaces && make sv-debug -j $(nproc)
5 - export ENGINE="$PWD/darkplaces/darkplaces-dedicated -xonotic"
7 - git clone --depth=1 --branch=master https://gitlab.com/xonotic/gmqcc.git gmqcc
8 - cd gmqcc && make -j $(nproc)
10 - export QCC="$PWD/gmqcc/gmqcc"
12 - ln -s $PWD data/xonotic-data.pk3dir
13 - mkdir maps && wget -O maps/gitlab-ci.bsp https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/_init/_init.bsp
20 if [[ $line == "All tests OK" ]]; then exit 0; fi;
21 done < <(${ENGINE} +developer 1 +map gitlab-ci +sv_cmd runtest +exit)
30 - cd qcsrc && doxygen >/dev/null