Skip to content

Commit

Permalink
Update cmake-win64.yml
Browse files Browse the repository at this point in the history
the latest official XZ version has CMake support
  • Loading branch information
zdenop committed Mar 1, 2024
1 parent 87af830 commit fbb3cf4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/cmake-win64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,12 @@ jobs:
- name: Build and Install lzma
shell: cmd
run: |
curl -sSL https://sourceforge.net/projects/lzmautils/files/xz-5.4.3.tar.zst/download -o xz-5.4.5.tar.zst
zstd -d xz-5.4.5.tar.zst
tar xf xz-5.4.5.tar
cd xz-5.4.5
; curl -sSL https://sourceforge.net/projects/lzmautils/files/xz-5.4.3.tar.zst/download -o xz-5.4.5.tar.zst
; zstd -d xz-5.4.5.tar.zst
; tar xf xz-5.4.5.tar
; cd xz-5.4.5
git clone --depth 1 https://github.com/tukaani-project/xz.git
cd xz
cmake -Bbuild -DCMAKE_PREFIX_PATH=${{env.ILOC}} -DCMAKE_INSTALL_PREFIX=${{env.ILOC}} -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON
cmake --build build --config Release --target install
cd ..
Expand Down

0 comments on commit fbb3cf4

Please sign in to comment.