sound: Remove some logically dead code #516
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: WinBuild | |
on: | |
push: | |
branches: | |
- 'master' | |
tags: | |
- v* | |
env: | |
INSTALLPREFIX: "_local" | |
jobs: | |
mingw-build: | |
strategy: | |
matrix: | |
include: | |
- { sys: mingw64, env: x86_64 } | |
- { sys: mingw32, env: i686 } | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: msys2/setup-msys2@v2 | |
with: | |
msystem: ${{matrix.sys}} | |
update: true | |
install: >- | |
git | |
mingw-w64-${{matrix.env}}-gcc | |
mingw-w64-${{matrix.env}}-openssl | |
mingw-w64-${{matrix.env}}-python | |
mingw-w64-${{matrix.env}}-pcre | |
libtool | |
autotools | |
swig | |
- name: MSBuild | |
run: | | |
./reconf | |
mkdir $INSTALLPREFIX | |
./configure --prefix=$(pwd)/$INSTALLPREFIX/ --enable-internal-trace | |
make | |
make install | |
# Unfortunately, on github, test_mdns.py hangs. I tried | |
# it in an AWS windows server 2022 instance and it worked | |
# fine, so I don't know what is going on. The pygensio | |
# and go mdns test work fine. | |
# test_ratelimit.py fails sometimes with a "data too slow". Probably | |
# from running windows in a VM. | |
# test_unix_accept_connect.py fails with "A socket operation | |
# encountered a dead network." It works fine when I run them. | |
# I assume it has to do with the tests runnign before the system | |
# is completely up, or something like that. | |
make check SKIP_TESTS="test_unix_accept_connect.py test_mdns.py test_ratelimit.py oomtest9 oomtest11" | |
- name: Upload installed files | |
uses: actions/upload-artifact@v3 | |
with: | |
name: gensio-mingw-${{matrix.env}} | |
path: ${{ env.INSTALLPREFIX }}/**/* |