-
Notifications
You must be signed in to change notification settings - Fork 178
37 lines (36 loc) · 1.43 KB
/
windowsbuild.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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