undo: fix linux test runner #778
Workflow file for this run
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 for Windows | |
on: [ push, pull_request ] | |
jobs: | |
build_windows: | |
name: CI for Windows | |
runs-on: windows-latest | |
steps: | |
- name: Checkout for Windows | |
uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Install msys2 | |
uses: msys2/setup-msys2@v2 | |
with: | |
update: true | |
install: >- | |
mingw-w64-x86_64-toolchain mingw-w64-x86_64-libzip mingw-w64-x86_64-pkg-config mingw-w64-x86_64-dlfcn | |
git make tar unzip xz zip mingw-w64-x86_64-clang | |
mingw-w64-x86_64-jansson mingw-w64-x86_64-gtk3 mingw-w64-x86_64-gtk2 mingw-w64-x86_64-mpg123 | |
mingw-w64-x86_64-flac mingw-w64-x86_64-curl mingw-w64-x86_64-portaudio mingw-w64-x86_64-faad2 mingw-w64-x86_64-flac | |
mingw-w64-x86_64-wavpack mingw-w64-x86_64-libvorbis mingw-w64-x86_64-libogg mingw-w64-x86_64-opusfile mingw-w64-x86_64-opus | |
mingw-w64-x86_64-libsndfile mingw-w64-x86_64-libsamplerate mingw-w64-x86_64-yasm rsync | |
- name: Build for Windows | |
shell: msys2 {0} | |
run: TRAVIS_OS_NAME=windows travis/build.sh | |
- name: Upload for Windows | |
env: | |
gh_ed25519_key: ${{ secrets.GH_ENCRYPTED_ED25519_KEY }} | |
gh_ed25519_iv: ${{ secrets.GH_ENCRYPTED_ED25519_IV }} | |
shell: msys2 {0} | |
run: TRAVIS_OS_NAME=windows travis/upload.sh | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: windows | |
path: bin/*DEBUG.zip | |