This commit is contained in:
A13501350
2025-09-19 15:37:07 +08:00
parent dc7fcdcf70
commit 3eafb4e9df

View File

@@ -40,26 +40,27 @@ jobs:
make dll make dll
mkdir -p ${{ github.workspace }}/ssdeep-install/bin mkdir -p ${{ github.workspace }}/ssdeep-install/bin
mkdir -p ${{ github.workspace }}/ssdeep-install/include mkdir -p ${{ github.workspace }}/ssdeep-install/include
cp fuzzy.dll ${{ github.workspace }}/ssdeep-install/bin/ cp -v fuzzy.dll ${{ github.workspace }}/ssdeep-install/bin/
cp fuzzy.h ${{ github.workspace }}/ssdeep-install/include/ cp -v fuzzy.h ${{ github.workspace }}/ssdeep-install/include/
cp fuzzy.def ${{ github.workspace }}/ssdeep-install/ cp -v fuzzy.def ${{ github.workspace }}/ssdeep-install/
- name: Configure CMake for IIS Module # - name: Configure CMake for IIS Module
run: | # run: |
cmake ` # Test-Path "${{ github.workspace }}\ssdeep-install\bin\fuzzy.dll"
-DAPACHE_ROOT="C:\tools\Apache24" ` # cmake `
-DSSDEEP_ROOT="${{ github.workspace }}\ssdeep-install" ` # -DAPACHE_ROOT="C:\tools\Apache24" `
-DCMAKE_INSTALL_PREFIX="${{ github.workspace }}\install" ` # -DSSDEEP_ROOT="${{ github.workspace }}\ssdeep-install" `
-DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT\scripts\buildsystems\vcpkg.cmake" ` # -DCMAKE_INSTALL_PREFIX="${{ github.workspace }}\install" `
-DWITH_SSDEEP=ON ` # -DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT\scripts\buildsystems\vcpkg.cmake" `
-DWITH_LUA=ON ` # -DWITH_SSDEEP=ON `
-DWITH_YAJL=ON ` # -DWITH_LUA=ON `
-S IIS -B iis\build # -DWITH_YAJL=ON `
# -S IIS -B iis\build
- name: Build IIS Module # - name: Build IIS Module
shell: pwsh # shell: pwsh
run: | # run: |
cmake --build iis\build --config Release # cmake --build iis\build --config Release
# - name: Package IIS Module with WiX # - name: Package IIS Module with WiX
# shell: pwsh # shell: pwsh