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

View File

@@ -14,9 +14,13 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: deps
run: brew install libsndfile vamp-plugin-sdk
run: brew install libsndfile libsamplerate vamp-plugin-sdk meson ninja
- name: configure macos
run: meson build_macos
- name: configure ios
run: meson build_ios --cross-file cross/ios.txt
- name: make macos
run: make -f Makefile.macos clean library program vamp
run: ninja -C build_macos
- name: make ios
run: make -f Makefile.ios clean all
run: ninja -C build_ios

20
.github/workflows/windows-dotnet.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Windows CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: make
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
msbuild dotnet\rubberband.sln

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