From acb3a550410cd7eb0b92e9c332027801073efe5e Mon Sep 17 00:00:00 2001 From: Ameer Hamza Date: Mon, 23 Dec 2024 18:50:24 +0500 Subject: [PATCH] zvol.c: check build Signed-off-by: Ameer Hamza --- .github/workflows/ci.yml | 1 - .github/workflows/scripts/qemu-4-build.sh | 14 ++++---------- .github/workflows/zfs-qemu.yml | 23 ----------------------- .github/workflows/zloop.yml | 4 +--- 4 files changed, 5 insertions(+), 37 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 992cd5ad4027..bb927bd26eb1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,6 @@ jobs: sh autogen.sh ./configure cp -a contrib/debian debian - sed 's/@CFGOPTS@/--enable-debuginfo/g' debian/rules.in > debian/rules chmod +x debian/rules dch -b -M --force-distribution --distribution bullseye-truenas-unstable 'Tagged from zfs CI' debuild -us -uc -b diff --git a/.github/workflows/scripts/qemu-4-build.sh b/.github/workflows/scripts/qemu-4-build.sh index 955f605f5bce..bfcb2133a4d0 100755 --- a/.github/workflows/scripts/qemu-4-build.sh +++ b/.github/workflows/scripts/qemu-4-build.sh @@ -32,9 +32,7 @@ function freebsd() { run ./configure \ --prefix=/usr/local \ --with-libintl-prefix=/usr/local \ - --enable-pyzfs \ - --enable-debug \ - --enable-debuginfo + --enable-pyzfs echo "##[endgroup]" echo "##[group]Build" @@ -54,9 +52,7 @@ function linux() { echo "##[group]Configure" run ./configure \ --prefix=/usr \ - --enable-pyzfs \ - --enable-debug \ - --enable-debuginfo + --enable-pyzfs echo "##[endgroup]" echo "##[group]Build" @@ -75,7 +71,7 @@ function rpm_build_and_install() { echo "##[endgroup]" echo "##[group]Configure" - run ./configure --enable-debug --enable-debuginfo $EXTRA_CONFIG + run ./configure $EXTRA_CONFIG echo "##[endgroup]" echo "##[group]Build" @@ -96,9 +92,7 @@ echo "##[group]Autogen.sh" echo "##[group]Configure" run ./configure \ --prefix=/usr \ - --enable-pyzfs \ - --enable-debug \ - --enable-debuginfo + --enable-pyzfs echo "##[endgroup]" echo "##[group]Build" diff --git a/.github/workflows/zfs-qemu.yml b/.github/workflows/zfs-qemu.yml index e90030f4c02e..011ea288beb7 100644 --- a/.github/workflows/zfs-qemu.yml +++ b/.github/workflows/zfs-qemu.yml @@ -99,29 +99,6 @@ jobs: timeout-minutes: 5 run: .github/workflows/scripts/qemu-5-setup.sh - - name: Run tests - timeout-minutes: 270 - run: .github/workflows/scripts/qemu-6-tests.sh - env: - CI_TYPE: ${{ needs.test-config.outputs.ci_type }} - - - name: Prepare artifacts - if: always() - timeout-minutes: 10 - run: .github/workflows/scripts/qemu-7-prepare.sh - - - uses: actions/upload-artifact@v4 - id: artifact-upload - if: always() - with: - name: Logs-functional-${{ matrix.os }} - path: /tmp/qemu-${{ matrix.os }}.tar - if-no-files-found: ignore - - - name: Test Summary - if: always() - run: .github/workflows/scripts/qemu-8-summary.sh '${{ steps.artifact-upload.outputs.artifact-url }}' - cleanup: if: always() name: Cleanup diff --git a/.github/workflows/zloop.yml b/.github/workflows/zloop.yml index 90d93c48e4bd..824019c1aae8 100644 --- a/.github/workflows/zloop.yml +++ b/.github/workflows/zloop.yml @@ -27,9 +27,7 @@ jobs: ./autogen.sh - name: Configure run: | - ./configure --prefix=/usr --enable-debug --enable-debuginfo \ - --enable-asan --enable-ubsan \ - --enable-debug-kmem --enable-debug-kmem-tracking + ./configure --prefix=/usr --enable-asan --enable-ubsan - name: Make run: | make -j$(nproc)