Port Outcome over to work with ABI refactored status_code.
#393
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: Unit tests Windows | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| - master | |
| pull_request: | |
| schedule: | |
| - cron: '0 0 1 * *' | |
| jobs: | |
| WinVS2022: | |
| name: Windows VS2022 | |
| runs-on: windows-2022 | |
| env: | |
| NAME: WinVS2022 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: CMake tests Windows | |
| shell: bash | |
| run: | | |
| ctest -S .ci.cmake -VV --timeout 900 "-DCTEST_CONFIGURE_OPTIONS=$CMAKE_CONFIGURE_OPTIONS" -DCTEST_SITE=$NAME | |
| - name: Upload Test Results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Windows VS2022 test results | |
| path: prebuilt/merged_junit_results.xml | |
| publish-test-results: | |
| name: "Publish Unit Tests Results" | |
| needs: [WinVS2022] | |
| runs-on: ubuntu-latest | |
| if: success() || failure() | |
| steps: | |
| - name: Download Artifacts | |
| uses: actions/download-artifact@v4 | |
| with: | |
| path: artifacts | |
| - name: Publish Unit Test Results | |
| uses: EnricoMi/publish-unit-test-result-action@v2 | |
| with: | |
| check_name: Unit Test Results | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| files: '**/merged_junit_results.xml' |