Skip to content

Commit

Permalink
Merge from branch CI - update to GH Windows offering
Browse files Browse the repository at this point in the history
  • Loading branch information
cannam committed Mar 7, 2024
2 parents e5bff67 + 3723845 commit a1139f0
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 29 deletions.
26 changes: 0 additions & 26 deletions .appveyor.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/macos-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
- name: deps
run: brew install libsndfile libsamplerate vamp-plugin-sdk meson ninja
- name: configure macos
run: meson build_macos
run: meson setup build_macos
- 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
run: ninja -C build_macos
- name: make ios
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ CI builds:

* [![Build status](https://builds.sr.ht/~breakfastquay/rubberband.svg)](https://builds.sr.ht/~breakfastquay/rubberband?) (Linux)
* [![Build Status](https://github.com/breakfastquay/rubberband/workflows/macOS%20and%20iOS%20CI/badge.svg)](https://github.com/breakfastquay/rubberband/actions?query=workflow%3A%22macOS+and+iOS+CI%22) (macOS, iOS)
* [![Build Status](https://ci.appveyor.com/api/projects/status/hhhhpf718jwhpyf6?svg=true)](https://ci.appveyor.com/project/breakfastquay/rubberband) (Windows)
* [![Build Status](https://github.com/breakfastquay/rubberband/workflows/Windows%20CI/badge.svg)](https://github.com/breakfastquay/rubberband/actions?query=workflow%3A%22Windows+CI%22) (Windows)


## Licence
Expand Down

0 comments on commit a1139f0

Please sign in to comment.