9 CI_REPOSITORY_URL: "@CI_REPOSITORY_URL@"
10 CI_COMMIT_REF_NAME: "@CI_COMMIT_REF_NAME@"
11 CI_COMMIT_SHA: "@CI_COMMIT_SHA@"
15 folder: $HOME/.cache/qemu-vm
18 - dnf install -y git make openssh-clients qemu-img qemu-system-x86 wget
20 - git clone --depth 100 "$CI_REPOSITORY_URL" .
21 - git fetch origin "$CI_COMMIT_REF_NAME"
22 - git reset --hard "$CI_COMMIT_SHA"
24 - if [ -f $HOME/.cache/qemu-vm/images/@NAME@.img ]; then
25 make vm-build-@NAME@ J=$(getconf _NPROCESSORS_ONLN)
26 EXTRA_CONFIGURE_OPTS="@CONFIGURE_ARGS@"
27 BUILD_TARGET="@TEST_TARGETS@" ;
29 make vm-build-@NAME@ J=$(getconf _NPROCESSORS_ONLN) BUILD_TARGET=help
30 EXTRA_CONFIGURE_OPTS="--disable-system --disable-user --disable-tools" ;