Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 16 additions & 11 deletions .github/workflows/build-all-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,15 +156,6 @@ jobs:
submodules: true
fetch-depth: 0

- name: Setup MSYS2 with Mingw-w64
uses: msys2/setup-msys2@v2
with:
update: true
install: >-
base-devel
mingw-w64-x86_64-gcc
mingw-w64-x86_64-lz4

- name: Setup Zulu JDK 7
uses: actions/setup-java@v5
with:
Expand All @@ -177,8 +168,22 @@ jobs:
java-version: '21'
cache: maven

- name: Build (mvn verify) using MSYS2 shell
shell: msys2 {0}
# See LZ4FrameIOStreamTest
- name: Download LZ4 CLI for tests
shell: powershell
run: |
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
mkdir lz4-cli
tar -x -v -f lz4_win64.zip -C lz4-cli lz4.exe
echo "$(Get-Location)\lz4-cli" >> "$env:GITHUB_PATH"
rm lz4_win64.zip
# Separate step because the change to PATH (through GITHUB_PATH) is not visible in the step which modified it
# See https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-commands#adding-a-system-path
- name: Check LZ4 CLI
run: lz4 -V

- name: Build (mvn verify)
shell: bash
run: |
./mvnw -B -V \
-Darch.id=amd64 \
Expand Down