Add tables to include #395
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Windows Tests | |
| on: [push, pull_request] | |
| concurrency: | |
| group: ci-${{github.ref}}-win-tests | |
| cancel-in-progress: true | |
| jobs: | |
| build_win_test: | |
| if: github.repository == 'MerginMaps/geodiff' | |
| runs-on: windows-2025 | |
| steps: | |
| - name: Checkout Geodiff | |
| uses: actions/checkout@v6 | |
| - name: install deps | |
| run: | | |
| C:/vcpkg/vcpkg install sqlite3[rtree,fts3,json1] --triplet x64-windows | |
| C:/vcpkg/vcpkg integrate install | |
| dir "C:/vcpkg/installed/x64-windows/bin" | |
| - name: build geodiff | |
| shell: pwsh | |
| run: | | |
| $ErrorActionPreference = 'continue' | |
| function exec | |
| { | |
| param ( [ScriptBlock] $ScriptBlock ) | |
| & $ScriptBlock 2>&1 | ForEach-Object -Process { "$_" } | |
| if ($LastExitCode -ne 0) { exit $LastExitCode } | |
| } | |
| cd $env:GITHUB_WORKSPACE | |
| mkdir build | |
| cd build | |
| exec { cmake -G "Visual Studio 18 2026" -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DENABLE_TESTS=ON -DWITH_POSTGRESQL=FALSE ../geodiff } | |
| exec { cmake --build . --config Debug } | |
| - name: Run tests | |
| shell: pwsh | |
| run: | | |
| $ErrorActionPreference = 'continue' | |
| function exec | |
| { | |
| param ( [ScriptBlock] $ScriptBlock ) | |
| & $ScriptBlock 2>&1 | ForEach-Object -Process { "$_" } | |
| if ($LastExitCode -ne 0) { exit $LastExitCode } | |
| } | |
| $env:PATH="C:\vcpkg\installed\x64-windows\bin;$env:GITHUB_WORKSPACE\build\tool\Debug\;$env:GITHUB_WORKSPACE\build\geodiff\Debug;$env:PATH" | |
| cd $env:GITHUB_WORKSPACE\build | |
| exec { ctest -VV -C Debug } |