probe(f2): windows compile measurement, not for merge #2
Workflow file for this run
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: probe - does this tree compile on windows | |
| # Temporary measurement branch: the one step that failed on PR #688's Windows | |
| # jobs (clang with the MSVC STL building mcpp), nothing else. | |
| on: | |
| push: | |
| branches: ['probe/wincompile-*'] | |
| jobs: | |
| compile: | |
| runs-on: windows-2022 | |
| timeout-minutes: 60 | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/bootstrap-mcpp | |
| - name: Build mcpp with clang and the MSVC STL | |
| run: | | |
| export MCPP_VENDORED_XLINGS="$XLINGS_BIN" | |
| "$XLINGS_BIN" config --mirror GLOBAL 2>/dev/null || true | |
| "$MCPP" self config --mirror GLOBAL 2>/dev/null || true | |
| set +e | |
| "$MCPP" build --dev > build.log 2>&1; rc=$? | |
| set -e | |
| echo "RESULT build rc=$rc" | |
| { grep -E "first required here|imported from|error:" build.log || true; } | head -20 | sed 's/^/RESULT /' | |
| tail -30 build.log | |
| exit $rc |