- - runuser -p -u nobody -- make TEST_CFLAGS= TEST_LDFLAGS=
- - runuser -p -u nobody -- make test TEST_CFLAGS= TEST_LDFLAGS=
- - 'test -z "$(git clean -nd)"' # any untracked files left?
- - runuser -p -u nobody -- make clean
- - 'test -z "$(git clean -ndx)"' # any unignored files left?
- # Build with clang
- - runuser -p -u nobody -- make CC=clang TEST_CFLAGS= TEST_LDFLAGS=
- - runuser -p -u nobody -- make test CC=clang TEST_CFLAGS= TEST_LDFLAGS=
+ - runuser -p -u nobody -- ./ci/run TEST_CFLAGS= TEST_LDFLAGS=
+ variables:
+ # The chown to nobody above causes permissions errors in recent Git
+ # versions "fatal: detected dubious ownership in repository [...] To add
+ # an exception for this directory, call: git config --global --add
+ # safe.directory [...]".
+ GIT_STRATEGY: clone