build: add option to skip FUSE tests in CI jobs

This commit is contained in:
Marcus Holland-Moritz 2025-08-09 12:33:50 +02:00
parent 32ed073cb2
commit 38497c79f3
2 changed files with 6 additions and 0 deletions

View File

@ -364,6 +364,7 @@ jobs:
build_dist: ${{ matrix.build_dist }}
cross_arch: ${{ matrix.cross_arch }}
skip_slow_tests: ${{ matrix.skip_slow_tests || false }}
skip_fuse_tests: ${{ matrix.skip_fuse_tests || false }}
build_from_tarball: true
upload_coverage: ${{ matrix.build_type == 'clang-debug-coverage-ninja' }}
upload_artifacts: ${{ endsWith(matrix.build_type, '-static') }}

View File

@ -33,6 +33,10 @@ on:
required: false
type: boolean
default: false
skip_fuse_tests:
required: false
type: boolean
default: false
permissions:
contents: read
@ -77,6 +81,7 @@ jobs:
--mount type=bind,source=/mnt/opensource/artifacts/dwarfs,target=/artifacts \
${{ inputs.build_from_tarball && '--env BUILD_FROM_TARBALL=1' || '' }} \
${{ inputs.skip_slow_tests && '--env DWARFS_SKIP_SLOW_TESTS=1' || '' }} \
${{ inputs.skip_fuse_tests && '--env DWARFS_SKIP_FUSE_TESTS=1' || '' }} \
--env BUILD_TYPE=${{ inputs.build_type }} \
--env BUILD_ARCH=${{ inputs.build_arch }} \
--env CROSS_ARCH=${{ inputs.cross_arch }} \