reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit 150bd7c4c489ed3890b4ada283d50b2620f52ffe
parent 09a64663544aa9418ef9cfbf590d404c7a21649f
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Tue, 24 Nov 2020 19:34:26 -0500

migrate macOS builds to AppVeyor

Diffstat:
M.appveyor.yml | 50++++++++++++++++++++++++++++++++++++++++++++------
D.travis.yml | 35-----------------------------------
MREADME.md | 1-
3 files changed, 44 insertions(+), 42 deletions(-)

diff --git a/.appveyor.yml b/.appveyor.yml @@ -4,8 +4,13 @@ version: "{build}-{branch}" before_build: - git submodule update --init +build_script: + - cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN + -DCMAKE_OSX_ARCHITECTURES=$ARCH -DCMAKE_OSX_DEPLOYMENT_TARGET=$DEPLOY_TARGET + - cmake --build build + test_script: - - cmake --build build --target test + - '[ "$ARCH" = "arm64" ] || cmake --build build --target test' for: - matrix: { only: [ appveyor_build_worker_image: &linux Ubuntu1804 ] } @@ -54,13 +59,37 @@ for: - wget -q https://mirrors.edge.kernel.org/ubuntu/pool/universe/c/catch2/catch2_2.13.0-1_all.deb - sudo apt install -y --no-install-recommends ./catch2*.deb php qemu-user-binfmt > /dev/null - build_script: - - cmake -B build - -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN - - cmake --build build artifacts: - path: build/reaper_reapack*.so + - matrix: { only: [ appveyor_build_worker_image: macos, appveyor_build_worker_image: macos-mojave ] } + install: + - brew install boost catch2 > /dev/null + + - |- + case $ARCH in + arm64) + DEPLOY_TARGET=11.0 + curl -fsSLO https://cfillion.ca/files/.xcode/Command_Line_Tools_for_Xcode_12.2.dmg + echo 3911b66247e030c7210940cde4230319058bc5c55a81627b8853dab644092c40 Command_Line_Tools_for_Xcode_12.2.dmg | sha256sum -c + hdiutil attach Command_Line_Tools_for_Xcode_12.2.dmg > /dev/null + sudo installer -pkg '/Volumes/Command Line Developer Tools/Command Line Tools.pkg' -target / + ;; + *) + DEPLOY_TARGET=10.7 + export SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX10.10.sdk + curl -fsSLO https://github.com/phracker/MacOSX-SDKs/releases/download/10.15/MacOSX10.10.sdk.tar.xz + echo 608a89db8b4be150a945871230b5ba5d4767a8500bc5fe76ddf10f5cec5ef513 MacOSX10.10.sdk.tar.xz | sha256sum -c + sudo tar xf MacOSX10.10.sdk.tar.xz -C /Library/Developer/CommandLineTools/SDKs + ;; + esac + - sudo xcode-select -s /Library/Developer/CommandLineTools + + # don't use LibXml2/SQLite3 from Mono + - sudo rm -r /Library/Frameworks/Mono.framework + artifacts: + - path: build/reaper_reapack*.dylib + - matrix: { only: [ appveyor_build_worker_image: &windows Visual Studio 2019 ] } cache: - C:\Tools\vcpkg\installed -> vendor\vcpkg-deps.txt @@ -87,6 +116,15 @@ environment: - job_name: Windows 32-bit appveyor_build_worker_image: *windows ARCH: x86 + - job_name: macOS x86 64-bit + appveyor_build_worker_image: macos-mojave + ARCH: x86_64 + - job_name: macOS x86 32-bit + appveyor_build_worker_image: macos-mojave + ARCH: i386 + - job_name: macOS ARM 64-bit + appveyor_build_worker_image: macos + ARCH: arm64 - job_name: Linux x86 64-bit appveyor_build_worker_image: *linux ARCH: x86_64 @@ -107,6 +145,6 @@ deploy: force_update: true auth_token: secure: S4kQ8Fky507O9XHtcXdQ/Gv1+EB/6iiJQwd/InbZsl5pUdCX0oPWuP9N1B8t5fbl - artifact: /.*\.(dll|so)/ + artifact: /.*\.(dll|dylib|so)/ on: APPVEYOR_REPO_TAG: true diff --git a/.travis.yml b/.travis.yml @@ -1,35 +0,0 @@ ---- -language: cpp -os: osx -osx_image: xcode9.4 # macOS 10.13 -env: - - ARCH=x86_64 - - ARCH=i386 -script: - - cmake -B build - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_OSX_ARCHITECTURES="$ARCH" - -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 - -DCMAKE_TOOLCHAIN_FILE=cmake/brew-llvm.cmake - - cmake --build build --target all test -addons: - homebrew: - packages: - - catch2 - - cmake - - llvm - update: true -deploy: - provider: releases - name: $TRAVIS_TAG - tag_name: $TRAVIS_TAG - target_commitish: $TRAVIS_COMMIT - draft: true - overwrite: true - skip_cleanup: true - api_key: - secure: O7kvtWqx0hsVzWev3qzNxf9CuctG76I7dXmn4IG10AFkKmot+QT9V1OARqLhOLj/QSuPWQY7X/hSPuSLqcRTweADWfOl7uKvBd38KKfEXSVfRNRgDzCTOKYmCUAzL3WFB5wGTWIP47/4GPAiqhtLriejbbMCcF6b4diZ3rD4rZN/4BI85wXh3mID0fD4i2cSzAx2ONn4I3xIAiRhigJQ0VRp3v4wMGB0hGPM3fRDMzDuGEMo3CAgyhO/ldh9QPOS4F5LNOM3prBSYmFaARQO46vmhF4hI+ydRZrntGhL5NryEtsZVqONv+Pq6z8TnCOH7uPYE9uHiU3K/s4XpYRdSMbrZfRylmTEo8p66KLjfDvMlMBmwmvsTIE8z/w9XuUskhSSq7eNYyX1QxaIiBh+o0ho/FIbLuEZK56dFCO/6yUY9LC23/+iMdPluMdQNzTPjvVqI1AnZQeBqQ2hZG9jp96Rblptz3lJFMDo3hoGNbPHE6iiCW7S0RvncGIRt5JL8BuQwyowIKqBg4eEx+74aYX7JvVLQpfzw9btr6f56k9N7OFP2tU2eNEnOWTjmkqsicU3nAp1Zji66+ncOhfJTJSIc5xNJGmVfRBSIAMYcjfo+1sxoM0NYyODXrwVt5rMUGdmuIutC7K8IcuCIOBTG924exXpBAcCYUaXd2iewss= - file: build/reaper_reapack*.dylib - file_glob: true - on: - tags: true diff --git a/README.md b/README.md @@ -1,7 +1,6 @@ # ReaPack: Package manager for REAPER [![Build status](https://ci.appveyor.com/api/projects/status/hq0g2nleele3pqrl/branch/master?svg=true)](https://ci.appveyor.com/project/cfillion/reapack/branch/master) -[![macOS build status](https://travis-ci.com/cfillion/reapack.svg?branch=master)](https://travis-ci.com/cfillion/reapack) [![Donate](https://img.shields.io/badge/donate-paypal-orange.svg)](https://www.paypal.com/cgi-bin/webscr?business=T3DEWBQJAV7WL&cmd=_donations&currency_code=CAD&item_name=ReaPack%3A+Package+manager+for+REAPER) Visit the [ReaPack website](https://reapack.com/) for ready-to-use binaries,