MSYS2-Makefile.yml 1.5 KB

12345678910111213141516171819202122232425262728293031
  1. name: MSYS2 Makefile
  2. on:
  3. push:
  4. branches: [ OpenMPT-1.30 ]
  5. pull_request:
  6. branches: [ OpenMPT-1.30 ]
  7. jobs:
  8. build:
  9. runs-on: windows-latest
  10. defaults:
  11. run:
  12. shell: msys2 {0}
  13. strategy:
  14. matrix:
  15. include:
  16. - { sys: MINGW64, rep: mingw64, env: x86_64 }
  17. - { sys: MINGW32, rep: mingw32, env: i686 }
  18. - { sys: UCRT64, rep: ucrt64, env: ucrt-x86_64 }
  19. steps:
  20. - uses: actions/checkout@v2
  21. - uses: msys2/setup-msys2@v2
  22. with:
  23. msystem: ${{matrix.sys}}
  24. update: true
  25. install: msys/base-devel msys/autoconf ${{matrix.rep}}/mingw-w64-${{matrix.env}}-toolchain msys/autoconf-archive msys/automake msys/ccache msys/doxygen msys/gawk msys/help2man msys/libtool msys/git msys/p7zip msys/perl-XML-LibXML msys/subversion msys/unzip msys/xz msys/zip ${{matrix.rep}}/mingw-w64-${{matrix.env}}-clang ${{matrix.rep}}/mingw-w64-${{matrix.env}}-flac ${{matrix.rep}}/mingw-w64-${{matrix.env}}-libltdl ${{matrix.rep}}/mingw-w64-${{matrix.env}}-libogg ${{matrix.rep}}/mingw-w64-${{matrix.env}}-libsndfile ${{matrix.rep}}/mingw-w64-${{matrix.env}}-libvorbis ${{matrix.rep}}/mingw-w64-${{matrix.env}}-mpg123 ${{matrix.rep}}/mingw-w64-${{matrix.env}}-portaudio ${{matrix.rep}}/mingw-w64-${{matrix.env}}-pulseaudio ${{matrix.rep}}/mingw-w64-${{matrix.env}}-SDL2 ${{matrix.rep}}/mingw-w64-${{matrix.env}}-zlib
  26. - name: make
  27. run: make
  28. - name: make check
  29. run: make check