build: Switch to using the system capstone version on Windows

This commit is contained in:
WerWolv
2023-07-16 21:38:29 +02:00
parent 52c517d38d
commit 76e932ecc0
2 changed files with 4 additions and 1 deletions

View File

@@ -59,6 +59,7 @@ jobs:
dlfcn:p
libbacktrace:p
ninja:p
capstone:p
- name: ⬇️ Install .NET
uses: actions/setup-dotnet@v3
@@ -84,6 +85,7 @@ jobs:
-DIMHEX_COMMIT_HASH_SHORT="${GITHUB_SHA::7}" \
-DIMHEX_COMMIT_HASH_LONG="${GITHUB_SHA}" \
-DIMHEX_COMMIT_BRANCH="${GITHUB_REF##*/}" \
-DUSE_SYSTEM_CAPSTONE=ON \
-DDOTNET_EXECUTABLE="C:/Program Files/dotnet/dotnet.exe" \
..
ninja install

View File

@@ -11,4 +11,5 @@ pacman -S --needed --noconfirm \
mingw-w64-x86_64-mbedtls \
mingw-w64-x86_64-freetype \
mingw-w64-x86_64-dlfcn \
mingw-w64-x86_64-ninja
mingw-w64-x86_64-ninja \
mingw-w64-x86_64-capstone