test torture with clang

This commit is contained in:
Nikita Smith
2026-04-06 12:04:31 -07:00
parent 91b50bab00
commit f119e8cffc
+15 -9
View File
@@ -10,7 +10,7 @@ on:
jobs: jobs:
build-windows-2022: build-windows-2022:
runs-on: windows-2022 runs-on: windows-2025
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@@ -27,7 +27,7 @@ jobs:
- release - release
steps: steps:
- name: checkout - name: checkout
uses: actions/checkout@v2 uses: actions/checkout@v6
- name: build (vs 2022) - name: build (vs 2022)
shell: cmd shell: cmd
run: | run: |
@@ -35,18 +35,24 @@ jobs:
call build meta "${{ matrix.target }}" "${{ matrix.compiler }}" "${{ matrix.mode }}" || exit /b 1 call build meta "${{ matrix.target }}" "${{ matrix.compiler }}" "${{ matrix.mode }}" || exit /b 1
run-torture: run-torture:
runs-on: windows-2022 runs-on: windows-2025
strategy:
fail-fast: false
matrix:
compiler:
- msvc
- clang
mode:
- debug
- release
steps: steps:
# - name: Install ASAN
# shell: cmd
# run: |
# "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" modify --installPath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise" --quiet --force --norestart --add Microsoft.VisualStudio.Component.VC.ASAN
- name: checkout - name: checkout
uses: actions/checkout@v2 uses: actions/checkout@v6
- name: run-torture - name: run-torture
shell: cmd shell: cmd
run: | run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
call build asan debug meta torture radlink radbin || exit /b 1 call build asan meta torture radlink radbin "${{matrix.mode}}" "${{matrix.compiler}}" || exit /b 1
cd build cd build
torture || exit /b 1 torture || exit /b 1