11 TEST_DIR: /var/tmp/zloop
13 - uses: actions/checkout@v2
15 ref: ${{ github.event.pull_request.head.sha }}
16 - name: Install dependencies
19 xargs --arg-file=${{ github.workspace }}/.github/workflows/build-dependencies.txt sudo apt-get install -qq
26 ./configure --enable-debug --enable-debuginfo --enable-asan --enable-ubsan --with-config=dist
29 make -j$(nproc) --no-print-directory --silent pkg-utils pkg-kmod
33 # Update order of directories to search for modules, otherwise
34 # Ubuntu will load kernel-shipped ones.
35 sudo sed -i.bak 's/updates/extra updates/' /etc/depmod.d/ubuntu.conf
40 sudo mkdir -p $TEST_DIR
41 # run for 10 minutes or at most 2 iterations for a maximum runner
43 sudo /usr/share/zfs/zloop.sh -t 600 -I 2 -l -m1 -- -T 120 -P 60
44 - name: Prepare artifacts
47 sudo chmod +r -R $TEST_DIR/
48 - uses: actions/upload-artifact@v2
54 !/var/tmp/zloop/*/vdev/
55 if-no-files-found: ignore
56 - uses: actions/upload-artifact@v2
61 /var/tmp/zloop/*/vdev/
62 if-no-files-found: ignore