Skip to content

Commit 0d8eccc

Browse files
committed
add regular tests under fuzz in nighlty CI
1 parent e215165 commit 0d8eccc

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/nightly.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Various non-standard tests, requiring e.g. longer run
22
name: Nightly
33

4-
# This job is run at 04:00 UTC every day or on demand.
54
on:
6-
workflow_dispatch:
7-
schedule:
8-
- cron: '0 4 * * *'
5+
push:
6+
branches-ignore:
7+
- 'dependabot/**'
8+
pull_request:
99

1010
permissions:
1111
contents: read
@@ -43,13 +43,22 @@ jobs:
4343
-DCMAKE_BUILD_TYPE=${{matrix.build_type}}
4444
-DCMAKE_C_COMPILER=${{matrix.compiler.c}}
4545
-DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}}
46+
-DUMF_BUILD_SHARED_LIBRARY=ON
4647
-DUMF_TESTS_FAIL_ON_SKIP=ON
4748
-DUMF_DEVELOPER_MODE=ON
4849
-DUMF_BUILD_FUZZTESTS=ON
4950
5051
- name: Build
5152
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --verbose -j$(nproc)
5253

54+
- name: Run regular tests
55+
working-directory: ${{github.workspace}}/build
56+
run: ctest -C ${{matrix.build_type}} --output-on-failure -E "fuzz|test_init_teardown"
57+
58+
- name: Run regular tests with proxy library
59+
working-directory: ${{env.BUILD_DIR}}
60+
run: LD_PRELOAD=./lib/libumf_proxy.so ctest -C ${{matrix.build_type}} -output-on-failure -E "fuzz|test_init_teardown"
61+
5362
- name: Fuzz long test
5463
working-directory: ${{github.workspace}}/build
5564
run: ctest -C ${{matrix.build_type}} --output-on-failure --verbose -L "fuzz-long"

0 commit comments

Comments
 (0)