Fix MSVC visibility in crash_diagnostic bad_plugins #6
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Configure | |
| run: cmake -B build -DCMAKE_BUILD_TYPE=Release | |
| - name: Build (Unix) | |
| if: runner.os != 'Windows' | |
| run: cmake --build build -j$(nproc 2>/dev/null || sysctl -n hw.ncpu) | |
| - name: Build (Windows) | |
| if: runner.os == 'Windows' | |
| run: cmake --build build --config Release -j $env:NUMBER_OF_PROCESSORS | |
| - name: Test | |
| run: ctest --test-dir build --output-on-failure -C Release |