eliminate most reliance on p2r_shared for shared data - isolate scrat… #3006
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: builds | |
| on: | |
| push: | |
| paths-ignore: | |
| - '**.md' | |
| pull_request: | |
| paths-ignore: | |
| - '**.md' | |
| jobs: | |
| build-windows-2022: | |
| runs-on: windows-2022 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| target: | |
| - raddbg | |
| - radlink | |
| - radbin | |
| compiler: | |
| - msvc | |
| - clang | |
| mode: | |
| - debug | |
| - release | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v2 | |
| - name: build (vs 2022) | |
| shell: cmd | |
| run: | | |
| call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 | |
| call build "${{ matrix.target }}" "${{ matrix.compiler }}" "${{ matrix.mode }}" || exit /b 1 | |
| run-torture: | |
| runs-on: windows-2022 | |
| 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 | |
| uses: actions/checkout@v2 | |
| - name: run-torture | |
| shell: cmd | |
| run: | | |
| call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 | |
| call build radlink asan debug no_meta || exit /b 1 | |
| call build torture debug no_meta || exit /b 1 | |
| cd build | |
| torture -l:radlink || exit /b 1 |