@@ -431,6 +431,47 @@ jobs:
431431 #FIXME try-catch is unstable in macos build
432432 $RUNNER --engine="$GITHUB_WORKSPACE/out/mac/walrus" ${{ matrix.switch }}
433433
434+ build-test-no-gc-on-windows-x86-x64:
435+ runs-on: windows-2022
436+ strategy:
437+ matrix:
438+ arch: [x86, x64]
439+ steps:
440+ - name: Set git cllf config
441+ run: |
442+ git config --global core.autocrlf input
443+ git config --global core.eol lf
444+ - uses: actions/checkout@v4
445+ with:
446+ submodules: true
447+ - uses: lukka/get-cmake@latest
448+ with:
449+ cmakeVersion: "~3.25.0" # <--= optional, use most recent 3.25.x version
450+ - uses: GuillaumeFalourd/setup-windows10-sdk-action@v2
451+ with:
452+ sdk-version: 26100
453+ - uses: actions/setup-python@v5
454+ with:
455+ python-version: "3.11"
456+ - name: Install msvc redist package
457+ run: |
458+ (new-object System.Net.WebClient).DownloadFile('https://github.com/abbodi1406/vcredist/releases/download/v0.73.0/VisualCppRedist_AIO_x86_x64.exe','VisualCppRedist_AIO_x86_x64.exe')
459+ .\VisualCppRedist_AIO_x86_x64.exe /y
460+ - uses: ilammy/msvc-dev-cmd@v1.13.0
461+ with:
462+ arch: ${{ matrix.arch }}
463+ sdk: "10.0.26100.0"
464+ - name: Build ${{ matrix.arch }} Release
465+ run: |
466+ CMake -DCMAKE_POLICY_VERSION_MINIMUM="3.5" -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_SYSTEM_VERSION:STRING="10.0" -DCMAKE_SYSTEM_PROCESSOR=${{ matrix.arch }} -Bout/ -G Ninja -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -DCMAKE_BUILD_TYPE=release -DWALRUS_GC=OFF
467+ CMake --build out/ --config Release
468+ - name: Run tests
469+ run: |
470+ python tools\run-tests.py --engine=%cd%\out\walrus.exe
471+ shell: cmd
472+ - if: ${{ failure() }}
473+ uses: mxschmitt/action-tmate@v3
474+ timeout-minutes: 15
434475
435476 build-test-performance-x64_x86:
436477 strategy:
0 commit comments