Skip to content

Commit 6a86db1

Browse files
authored
CI workflow to test external compressors dependencies
Implemented CI workflow for testing compilation with external compressors and without them. This serves as a sanity check to avoid any code dependencies on libraries that may not always be present. (Reference: #3497 for a bug fix related to this issue.)
1 parent 727d031 commit 6a86db1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,25 @@ jobs:
186186
make gcc8install
187187
CC=gcc-8 CFLAGS="-Werror" make -j all
188188
189+
make-external-compressors:
190+
strategy:
191+
matrix:
192+
include:
193+
- name: "no external compressors"
194+
flags: "HAVE_ZLIB=0 HAVE_LZ4=0 HAVE_LZMA=0"
195+
- name: "only zlib"
196+
flags: "HAVE_ZLIB=1 HAVE_LZ4=0 HAVE_LZMA=0"
197+
- name: "only lz4"
198+
flags: "HAVE_ZLIB=0 HAVE_LZ4=1 HAVE_LZMA=0"
199+
- name: "only lzma"
200+
flags: "HAVE_ZLIB=0 HAVE_LZ4=0 HAVE_LZMA=1"
201+
runs-on: ubuntu-latest
202+
steps:
203+
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
204+
- name: Build with ${{matrix.name}}
205+
run: ${{matrix.flags}} make zstd
206+
207+
189208
implicit-fall-through:
190209
runs-on: ubuntu-latest
191210
steps:

0 commit comments

Comments
 (0)