add new magic_enum::magic_enum_module target #1035
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 | |
| on: [push, pull_request] | |
| permissions: read-all | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.config.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| config: | |
| - { os: windows-2022, label: "Windows Server 2022" } # https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md | |
| - { os: windows-2025, label: "Windows Server 2025" } # https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-Readme.md | |
| platform: [x64, Win32] | |
| build_type: [Release, Debug] | |
| name: "${{ matrix.config.label }} / ${{ matrix.platform }} / ${{ matrix.build_type }}" | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Configure | |
| run: cmake -S . -B build -A ${{ matrix.platform }} | |
| - name: Build | |
| run: cmake --build build --parallel --config ${{ matrix.build_type }} | |
| - name: Test | |
| run: ctest --test-dir build --output-on-failure --no-tests=error -C ${{ matrix.build_type }} |