Skip to content

Commit

Permalink
Try to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
dextercd committed Jun 1, 2024
1 parent 0baa7ed commit 101011c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,17 @@ jobs:
cd LuaJIT-2.0.4\LuaJIT-2.0.4\src
msvcbuild.bat
# There's vcpkg at C:/vcpkg/vcpkg, but that one has the wrong hashes for
# boost, so we can't use it right now.
- name: Install latest vcpkg
run: |
git clone --depth 1 https://github.com/microsoft/vcpkg C:\vcpkg2
C:\vcpkg2\bootstrap-vcpkg.bat
- name: Get build dependencies
run: |
C:/vcpkg/vcpkg install boost-system:x86-windows-static
C:/vcpkg/vcpkg install boost-asio:x86-windows-static
C:/vcpkg2/vcpkg install boost-system:x86-windows-static
C:/vcpkg2/vcpkg install boost-asio:x86-windows-static
- name: Install documentation dependencies
run: |
Expand All @@ -38,7 +45,7 @@ jobs:
call ".\venv\Scripts\activate.bat"
mkdir build
cmake -S . -B build -G "Ninja" ^
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake ^
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg2/scripts/buildsystems/vcpkg.cmake ^
-DVCPKG_TARGET_TRIPLET=x86-windows-static ^
-DCMAKE_CXX_FLAGS="/D_WIN32_WINNT=0x0601 /DWINVER=0x0601 /DWIN32 /D_WINDOWS /EHsc /MD" ^
-DLua_ROOT=%CD%\LuaJIT-2.0.4\LuaJIT-2.0.4\src ^
Expand Down

0 comments on commit 101011c

Please sign in to comment.