Skip to content

Commit 2b11399

Browse files
committed
ZTS: Remove functional tests via matrix
This commit changes the workflow of the github actions. - Ubuntu 20.04, 22.04, 24.04 will be tested via QEMU now - remove unused scripts of this commit: b7bc334 - re-add the zloop testings Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de>
1 parent 3f99926 commit 2b11399

11 files changed

+76
-494
lines changed

.github/workflows/build-dependencies.txt

Lines changed: 0 additions & 57 deletions
This file was deleted.

.github/workflows/checkstyle-dependencies.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/checkstyle.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,10 @@ jobs:
1313
ref: ${{ github.event.pull_request.head.sha }}
1414
- name: Install dependencies
1515
run: |
16-
# https://github.com/orgs/community/discussions/47863
17-
sudo apt-mark hold grub-efi-amd64-signed
18-
sudo apt-get update --fix-missing
19-
sudo apt-get upgrade
20-
sudo xargs --arg-file=${{ github.workspace }}/.github/workflows/build-dependencies.txt apt-get install -qq
21-
sudo xargs --arg-file=${{ github.workspace }}/.github/workflows/checkstyle-dependencies.txt apt-get install -qq
22-
sudo python3 -m pip install --quiet flake8
23-
sudo apt-get clean
16+
for x in lxd core20 snapd; do sudo snap remove $x; done
17+
sudo apt-get purge snapd google-chrome-stable firefox
18+
ONLY_DEPS=1 .github/workflows/scripts/qemu-3-deps.sh ubuntu24
19+
apt-get install -y cppcheck devscripts mandoc pax-utils shellcheck
2420
2521
# confirm that the tools are installed
2622
# the build system doesn't fail when they are not
@@ -32,7 +28,12 @@ jobs:
3228
- name: Prepare
3329
run: |
3430
./autogen.sh
31+
- name: Configure
32+
run: |
33+
sed -i '/DEBUG_CFLAGS="-Werror"/s/^/#/' config/zfs-build.m4
3534
./configure
35+
- name: Make
36+
run: |
3637
make -j$(nproc) --no-print-directory --silent
3738
- name: Checkstyle
3839
run: |

.github/workflows/scripts/generate-summary.sh

Lines changed: 0 additions & 119 deletions
This file was deleted.

.github/workflows/scripts/qemu-3-deps.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ case "$1" in
141141
;;
142142
esac
143143

144+
# This script is used for checkstyle + zloop deps also.
145+
# Install only the needed packages and exit - when used this way.
146+
test -z "${ONLY_DEPS:-}" || exit 0
147+
144148
# Start services
145149
echo "##[group]Enable services"
146150
case "$1" in

.github/workflows/scripts/setup-dependencies.sh

Lines changed: 0 additions & 88 deletions
This file was deleted.

.github/workflows/scripts/setup-functional.sh

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)