metadata: add fixes for metadata handling #132
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: Build PR(s) and master branch. | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| types: [opened, edited, synchronize] | |
| jobs: | |
| build-windows: | |
| name: Build sources on amd64 for ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| max-parallel: 48 | |
| fail-fast: false | |
| matrix: | |
| os: [windows-2025, windows-2022] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up with Developer Command Prompt for Microsoft Visual C++ | |
| uses: ilammy/msvc-dev-cmd@v1 | |
| with: | |
| arch: amd64 | |
| - name: Build on ${{ matrix.os }} with MSVC | |
| run: | | |
| cmake -G "NMake Makefiles" -DCIO_TESTS=On . | |
| cmake --build . | |
| - name: Run unit tests. | |
| run: | | |
| ctest . --rerun-failed --output-on-failure --test-dir . | |
| build-unix: | |
| name: Build sources on amd64 for ${{ matrix.os }} - ${{ matrix.compiler }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| max-parallel: 48 | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| compiler: [ gcc, clang ] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Build on ${{ matrix.os }} with ${{ matrix.compiler }} | |
| run: | | |
| echo "CC = $CC, CXX = $CXX" | |
| cmake -DCIO_TESTS=On . | |
| make all | |
| ctest --rerun-failed --output-on-failure -C Debug --test-dir . | |
| env: | |
| CC: ${{ matrix.compiler }} |