]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
attempt to no longer depend on system library presence for autodetection 4327/head
authorYann Collet <cyan@fb.com>
Mon, 3 Mar 2025 23:54:29 +0000 (15:54 -0800)
committerYann Collet <cyan@fb.com>
Tue, 4 Mar 2025 01:20:43 +0000 (17:20 -0800)
use explicit opt-in and path setting

.github/workflows/windows-artifacts.yml

index 0394ec983047c8cc1597ebf95687c4b516b017a5..4baa2f5553e8c13ab95eb17b97b72eb534c008fe 100644 (file)
@@ -29,7 +29,7 @@ jobs:
     - uses: msys2/setup-msys2@61f9e5e925871ba6c9e3e8da24ede83ea27fa91f # tag=v2.27.0
       with:
         msystem: ${{ matrix.msystem }}
-        install: make zlib mingw-w64-x86_64-lz4 p7zip git mingw-w64-${{matrix.env}}-gcc
+        install: make p7zip git mingw-w64-${{matrix.env}}-gcc
         update: true
 
     - name: display versions
@@ -51,7 +51,7 @@ jobs:
 
     - name: Building zstd programs
       run: |
-        CPPFLAGS="-I../zlib -I../lz4/lib" LDLIBS="../zlib/libz.a ../lz4/lib/liblz4.a" LDFLAGS=-static make -j allzstd V=1
+        CPPFLAGS="-I../zlib -I../lz4/lib" LDFLAGS=-static make -j allzstd V=1 HAVE_ZLIB=1 HAVE_LZ4=1 HAVE_LZMA=0 LDLIBS="../zlib/libz.a ../lz4/lib/liblz4.a"
 
     - name: Create artifacts
       run: |