File tree Expand file tree Collapse file tree 1 file changed +16
-11
lines changed
Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Original file line number Diff line number Diff line change @@ -156,15 +156,6 @@ jobs:
156156 submodules : true
157157 fetch-depth : 0
158158
159- - name : Setup MSYS2 with Mingw-w64
160- uses : msys2/setup-msys2@v2
161- with :
162- update : true
163- install : >-
164- base-devel
165- mingw-w64-x86_64-gcc
166- mingw-w64-x86_64-lz4
167-
168159 - name : Setup Zulu JDK 7
169160 uses : actions/setup-java@v5
170161 with :
@@ -177,8 +168,22 @@ jobs:
177168 java-version : ' 21'
178169 cache : maven
179170
180- - name : Build (mvn verify) using MSYS2 shell
181- shell : msys2 {0}
171+ # See LZ4FrameIOStreamTest
172+ - name : Download LZ4 CLI for tests
173+ shell : powershell
174+ run : |
175+ curl.exe --fail-with-body --no-progress-meter --output lz4_win64.zip --location https://github.com/lz4/lz4/releases/download/v1.10.0/lz4_win64_v1_10_0.zip
176+ mkdir lz4-cli
177+ tar -x -v -f lz4_win64.zip -C lz4-cli lz4.exe
178+ echo "$(Get-Location)\lz4-cli" >> "$env:GITHUB_PATH"
179+ rm lz4_win64.zip
180+ # Separate step because the change to PATH (through GITHUB_PATH) is not visible in the step which modified it
181+ # See https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-commands#adding-a-system-path
182+ - name : Check LZ4 CLI
183+ run : lz4 -V
184+
185+ - name : Build (mvn verify)
186+ shell : bash
182187 run : |
183188 ./mvnw -B -V \
184189 -Darch.id=amd64 \
You can’t perform that action at this time.
0 commit comments