Skip to content

Commit

Permalink
ga: try fixing Windows build
Browse files Browse the repository at this point in the history
switch to latest lukka/run-vcpkg, use vcpkg.json file.
  • Loading branch information
0-wiz-0 committed Mar 15, 2024
1 parent 338c81c commit 19c48b6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
if: ${{ runner.os == 'Linux' }}
run: |
sudo apt-get install libzstd-dev
- name: install latest CMake and Ninja for lukka/run-vcpkg (Windows)
if: ${{ runner.os == 'Windows' }}
uses: lukka/get-cmake@latest
- name: install dependencies (Windows)
if: ${{ runner.os == 'Windows' }}
uses: lukka/run-vcpkg@v7
id: runvcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: f93ba152d55e1d243160e690bc302ffe8638358e
vcpkgTriplet: x64-windows
vcpkgArguments: zlib bzip2 liblzma zstd
vcpkgGitCommitId: 2cf957350da28ad032178a974607f59f961217d9
- name: prepare build directory and install nihtest
run: |
cmake -E make_directory ${{runner.workspace}}/build
Expand Down
8 changes: 8 additions & 0 deletions vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"dependencies": [
"bzip2",
"liblzma",
"zlib",
"zstd"
]
}

0 comments on commit 19c48b6

Please sign in to comment.