Skip to content

Commit 2e8ec28

Browse files
authored
Merge pull request #4416 from facebook/test_largeDictionary
added test-largeDictionary to dev-long CI script
2 parents 528132e + 2295826 commit 2e8ec28

2 files changed

Lines changed: 19 additions & 7 deletions

File tree

.github/workflows/dev-long-tests.yml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: dev-long-tests
2-
# Tests longer than 10mn
2+
# Tests generally longer than 10mn
33

44
concurrency:
55
group: long-${{ github.ref }}
@@ -12,14 +12,15 @@ on:
1212
permissions: read-all
1313

1414
jobs:
15+
# lasts ~7mn
1516
make-all:
1617
runs-on: ubuntu-latest
1718
steps:
1819
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
1920
- name: make all
2021
run: make all
2122

22-
# lasts ~24mn
23+
# lasts ~19mn
2324
make-test:
2425
runs-on: ubuntu-latest
2526
env:
@@ -33,15 +34,15 @@ jobs:
3334
make -j zstd
3435
./tests/test_process_substitution.bash ./zstd
3536
36-
# lasts ~26mn
37+
# lasts ~16mn
3738
make-test-macos:
3839
runs-on: macos-latest
3940
steps:
4041
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
4142
- name: make test on macos
4243
run: make test
4344

44-
# lasts ~24mn
45+
# lasts ~10mn
4546
make-test-32bit:
4647
runs-on: ubuntu-latest
4748
env:
@@ -56,13 +57,24 @@ jobs:
5657
make clean
5758
CFLAGS="-m32 -O2" make -j test V=1
5859
60+
# lasts ~7mn
61+
test-largeDictionary:
62+
runs-on: ubuntu-latest
63+
steps:
64+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
65+
- name: largeDictionary
66+
run: |
67+
CFLAGS="-Werror -O3" make -j -C tests test-largeDictionary
68+
69+
# lasts ~9mn
5970
no-intrinsics-fuzztest:
6071
runs-on: ubuntu-latest
6172
steps:
6273
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
6374
- name: no intrinsics fuzztest
6475
run: MOREFLAGS="-DZSTD_NO_INTRINSICS" make -C tests fuzztest
6576

77+
# lasts ~8mn
6678
tsan-zstreamtest:
6779
runs-on: ubuntu-latest
6880
steps:
@@ -77,15 +89,14 @@ jobs:
7789
- name: ub + address sanitizer on zstreamtest
7890
run: CC=clang make uasan-test-zstream
7991

80-
# lasts ~15mn
92+
# lasts ~11mn
8193
tsan-fuzztest:
8294
runs-on: ubuntu-latest
8395
steps:
8496
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
8597
- name: thread sanitizer fuzztest
8698
run: CC=clang make tsan-fuzztest
8799

88-
89100
big-tests-zstreamtest32:
90101
runs-on: ubuntu-latest
91102
steps:
@@ -96,7 +107,7 @@ jobs:
96107
make libc6install
97108
CC=clang make -C tests test-zstream32 FUZZER_FLAGS="--big-tests"
98109
99-
# lasts ~23mn
110+
# lasts ~13mn
100111
gcc-8-asan-ubsan-testzstd:
101112
runs-on: ubuntu-latest
102113
steps:

tests/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ fullbench-lib
55
fuzzer
66
fuzzer32
77
fuzzer-dll
8+
largeDictionary
89
zbufftest
910
zbufftest32
1011
zbufftest-dll

0 commit comments

Comments
 (0)