Skip to content

Commit

Permalink
zvol.c: check build
Browse files Browse the repository at this point in the history
Signed-off-by: Ameer Hamza <[email protected]>
  • Loading branch information
ixhamza committed Dec 23, 2024
1 parent 83e855f commit acb3a55
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 37 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/scripts/qemu-4-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/zfs-qemu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/zloop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit acb3a55

Please sign in to comment.