ci: ensure testsuite log is dumped on failure #3
This file contains 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: MSYS2 build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: msys2/setup-msys2@v2 | |
with: | |
msystem: MINGW64 | |
update: true | |
install: git mingw-w64-x86_64-cc mingw-w64-x86_64-autotools | |
- name: bootstrap | |
run: ./bootstrap.sh | |
- name: Build | |
# GCC on MSYS2 doesn't have ASAN support (but Clang does). | |
run: ./.private/ci-build.sh --build-dir build-msys2 --no-asan | |
- name: Build with logging disabled | |
run: ./.private/ci-build.sh --build-dir build-msys2-nolog --no-asan -- --disable-log |