Merge from branch CI - update to GH Windows offering
This commit is contained in:
@@ -1,26 +0,0 @@
|
|||||||
|
|
||||||
image:
|
|
||||||
- Visual Studio 2019
|
|
||||||
|
|
||||||
configuration:
|
|
||||||
- Release
|
|
||||||
|
|
||||||
platform:
|
|
||||||
- x64
|
|
||||||
|
|
||||||
install:
|
|
||||||
- cinst wget
|
|
||||||
- cinst libsndfile
|
|
||||||
|
|
||||||
build_script:
|
|
||||||
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
|
|
||||||
- meson build "-Dextra_include_dirs=C:\Program Files\libsndfile\include" "-Dextra_lib_dirs=C:\Program Files\libsndfile\lib"
|
|
||||||
- ninja -C build
|
|
||||||
- meson test -C build
|
|
||||||
# Test the VC++ static library build, which is separate
|
|
||||||
- msbuild otherbuilds\rubberband-library.vcxproj /t:Build /p:Configuration=Release
|
|
||||||
# Test the .NET FFI interface build, which is again separate
|
|
||||||
- msbuild dotnet\rubberband.sln /t:Restore;Build
|
|
||||||
# And test the single-file build
|
|
||||||
- cl main\main.cpp single\RubberBandSingle.cpp .\src\ext\getopt\getopt.c src\ext\getopt\getopt_long.c "C:\Program Files\libsndfile\lib\sndfile.lib" /O2 /std:c++14 /D_USE_MATH_DEFINES /DNOMINMAX /EHs /I"C:\Program Files\libsndfile\include" /link /out:test_single.exe
|
|
||||||
|
|
||||||
4
.github/workflows/macos-ios.yml
vendored
4
.github/workflows/macos-ios.yml
vendored
@@ -14,9 +14,9 @@ jobs:
|
|||||||
- name: deps
|
- name: deps
|
||||||
run: brew install libsndfile libsamplerate vamp-plugin-sdk meson ninja
|
run: brew install libsndfile libsamplerate vamp-plugin-sdk meson ninja
|
||||||
- name: configure macos
|
- name: configure macos
|
||||||
run: meson build_macos
|
run: meson setup build_macos
|
||||||
- name: configure ios
|
- name: configure ios
|
||||||
run: meson build_ios --cross-file cross/ios.txt
|
run: meson setup build_ios --cross-file cross/ios.txt
|
||||||
- name: make macos
|
- name: make macos
|
||||||
run: ninja -C build_macos
|
run: ninja -C build_macos
|
||||||
- name: make ios
|
- name: make ios
|
||||||
|
|||||||
41
.github/workflows/windows.yml
vendored
Normal file
41
.github/workflows/windows.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
name: Windows CI
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: windows-2022
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: microsoft/setup-msbuild@v2
|
||||||
|
- uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
- name: pipdeps
|
||||||
|
run: |
|
||||||
|
pip install meson
|
||||||
|
pip install ninja
|
||||||
|
- name: chocodeps
|
||||||
|
uses: crazy-max/ghaction-chocolatey@v3
|
||||||
|
with:
|
||||||
|
args: install libsndfile
|
||||||
|
- name: make
|
||||||
|
run: |
|
||||||
|
meson setup build
|
||||||
|
ninja -C build
|
||||||
|
- name: test
|
||||||
|
run: |
|
||||||
|
meson test -C build
|
||||||
|
- name: vcstatic
|
||||||
|
run: |
|
||||||
|
msbuild otherbuilds\rubberband-library.vcxproj /t:Build /p:Configuration=Release
|
||||||
|
- name: dotnet
|
||||||
|
run: |
|
||||||
|
msbuild dotnet\rubberband.sln "/t:Restore;Build"
|
||||||
|
|
||||||
|
## (Commented out as cl not in path - to fix)
|
||||||
|
# - name: single
|
||||||
|
# run: |
|
||||||
|
# cl main\main.cpp single\RubberBandSingle.cpp .\src\ext\getopt\getopt.c src\ext\getopt\getopt_long.c "C:\Program Files\libsndfile\lib\sndfile.lib" /O2 /std:c++14 /D_USE_MATH_DEFINES /DNOMINMAX /EHs /I"C:\Program Files\libsndfile\include" /link /out:test_single.exe
|
||||||
@@ -19,7 +19,7 @@ CI builds:
|
|||||||
|
|
||||||
* [](https://builds.sr.ht/~breakfastquay/rubberband?) (Linux)
|
* [](https://builds.sr.ht/~breakfastquay/rubberband?) (Linux)
|
||||||
* [](https://github.com/breakfastquay/rubberband/actions?query=workflow%3A%22macOS+and+iOS+CI%22) (macOS, iOS)
|
* [](https://github.com/breakfastquay/rubberband/actions?query=workflow%3A%22macOS+and+iOS+CI%22) (macOS, iOS)
|
||||||
* [](https://ci.appveyor.com/project/breakfastquay/rubberband) (Windows)
|
* [](https://github.com/breakfastquay/rubberband/actions?query=workflow%3A%22Windows+CI%22) (Windows)
|
||||||
|
|
||||||
|
|
||||||
## Licence
|
## Licence
|
||||||
|
|||||||
Reference in New Issue
Block a user