Some build workflows

This commit is contained in:
Chris Cannam
2021-02-11 14:03:16 +00:00
parent 8bb3e18ffb
commit 8a40dd2045
3 changed files with 56 additions and 3 deletions

29
.github/workflows/windows.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Windows CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: deps
run: |
cinst wget
cinst meson
c:\ProgramData\chocolatey\bin\wget.exe http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.28-w64-setup.exe
.\libsndfile-1.0.28-w64-setup.exe /silent /sp- /norestart
- name: configure
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
meson build
- name: make
run: |
ninja -C build