hack on wait thread shutdown a bit #117
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: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: setup-msys2 | |
uses: msys2/setup-msys2@v2 | |
with: | |
msystem: MSYS | |
update: true | |
install: msys2-devel base-devel autotools cocom diffutils gcc gettext-devel libiconv-devel make mingw-w64-cross-crt mingw-w64-cross-gcc mingw-w64-cross-zlib perl zlib-devel xmlto docbook-xsl | |
- name: Build | |
shell: msys2 {0} | |
run: | | |
# XXX: cygwin still uses gcc v11 so we get new warnings with v13, | |
# resulting in errors due to -Werror. Disable them for now. | |
export CXXFLAGS="-Wno-error=stringop-truncation -Wno-error=array-bounds -Wno-error=overloaded-virtual -Wno-narrowing -Wno-use-after-free -Wno-error=maybe-uninitialized" | |
(cd winsup && ./autogen.sh) | |
./configure --disable-dependency-tracking | |
make -j8 | |
- name: Install | |
shell: msys2 {0} | |
run: | | |
make DESTDIR="$(pwd)"/_dest install | |
- name: Upload | |
uses: actions/upload-artifact@v3 | |
with: | |
name: install | |
path: _dest/ |