From 8a40dd20459c28295d4ff27b772b0de9a0c6d002 Mon Sep 17 00:00:00 2001 From: Chris Cannam Date: Thu, 11 Feb 2021 14:03:16 +0000 Subject: [PATCH] Some build workflows --- .github/workflows/macos-ios.yml | 10 +++++++--- .github/workflows/windows-dotnet.yml | 20 +++++++++++++++++++ .github/workflows/windows.yml | 29 ++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/windows-dotnet.yml create mode 100644 .github/workflows/windows.yml diff --git a/.github/workflows/macos-ios.yml b/.github/workflows/macos-ios.yml index ff09c11..2cb296b 100644 --- a/.github/workflows/macos-ios.yml +++ b/.github/workflows/macos-ios.yml @@ -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 diff --git a/.github/workflows/windows-dotnet.yml b/.github/workflows/windows-dotnet.yml new file mode 100644 index 0000000..3f6f9c6 --- /dev/null +++ b/.github/workflows/windows-dotnet.yml @@ -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 + diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml new file mode 100644 index 0000000..39d747a --- /dev/null +++ b/.github/workflows/windows.yml @@ -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 +