Skip to content

probe(f1): windows compile measurement, not for merge #1

probe(f1): windows compile measurement, not for merge

probe(f1): windows compile measurement, not for merge #1

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