commit 193b75a967c289a6c60e4382ab3f7a07f1d1cff4
parent d514214279c5e9c35fcfe9928d25e1322e79d8e0
Author: Matt Demanett <matt@demanett.net>
Date: Mon, 27 Nov 2023 20:01:23 -0500
Delete release auto-build (it was broken anyway), and update the SDK for the on-push linux build check.
Diffstat:
7 files changed, 1 insertion(+), 160 deletions(-)
diff --git a/.github/actions/build_osx/Dockerfile b/.github/actions/build_osx/Dockerfile
@@ -1,50 +0,0 @@
-
-FROM debian
-
-RUN apt-get update && \
- apt-get upgrade -yy && \
- apt-get install -yy \
- automake \
- bison \
- curl \
- file \
- flex \
- git \
- libtool \
- pkg-config \
- python \
- texinfo \
- vim \
- wget \
- zlib1g-dev \
- build-essential \
- cmake \
- make \
- tar \
- unzip \
- zip \
- libgl1-mesa-dev \
- libglu1-mesa-dev \
- jq \
- rsync
-
-ENV OSXCROSS_SDK_VERSION 10.11
-RUN SDK_VERSION=$OSXCROSS_SDK_VERSION \
- mkdir /opt/osxcross && \
- cd /opt && \
- git clone https://github.com/tpoechtrager/osxcross.git && \
- cd osxcross && \
- git checkout 7c090bd8cd4ad28cf332f1d02267630d8f333c19 && \
- sed -i -e 's|-march=native||g' ./build_clang.sh ./wrapper/build.sh && \
- ./tools/get_dependencies.sh && \
- curl -L -o ./tarballs/MacOSX${OSXCROSS_SDK_VERSION}.sdk.tar.xz \
- https://github.com/apriorit/osxcross-sdks/raw/master/MacOSX${OSXCROSS_SDK_VERSION}.sdk.tar.xz && \
- yes | PORTABLE=true ./build.sh && \
- ./build_compiler_rt.sh
-
-ENV PATH $PATH:/opt/osxcross/target/bin
-
-ADD entrypoint.sh /entrypoint.sh
-RUN chmod a+x /entrypoint.sh
-
-ENTRYPOINT ["/entrypoint.sh"]
diff --git a/.github/actions/build_osx/entrypoint.sh b/.github/actions/build_osx/entrypoint.sh
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-set -eu
-
-export RACK_DIR=${GITHUB_WORKSPACE}/Rack-SDK
-export RACK_USER_DIR=${GITHUB_WORKSPACE}
-
-export CC=x86_64-apple-darwin15-clang
-export CXX=x86_64-apple-darwin15-clang++
-export STRIP=x86_64-apple-darwin15-strip
-
-curl -L https://vcvrack.com/downloads/Rack-SDK-${RACK_SDK_VERSION}-mac.zip -o rack-sdk.zip
-unzip -o rack-sdk.zip
-rm rack-sdk.zip
-
-make dist
-chmod 755 dist/*vcvplugin
diff --git a/.github/actions/build_win/Dockerfile b/.github/actions/build_win/Dockerfile
@@ -1,9 +0,0 @@
-FROM debian:stretch
-
-RUN apt-get update
-RUN apt-get install -y gcc g++ g++-mingw-w64-x86-64 git make tar zip unzip gdb curl cmake libx11-dev libglu1-mesa-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev zlib1g-dev libasound2-dev libgtk2.0-dev libgtk-3-dev libjack-jackd2-dev jq zstd libpulse-dev
-
-ADD entrypoint.sh /entrypoint.sh
-RUN chmod a+x /entrypoint.sh
-
-ENTRYPOINT ["/entrypoint.sh"]
diff --git a/.github/actions/build_win/entrypoint.sh b/.github/actions/build_win/entrypoint.sh
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-set -eu
-
-export RACK_DIR=${GITHUB_WORKSPACE}/Rack-SDK
-export RACK_USER_DIR=${GITHUB_WORKSPACE}
-
-export CC=x86_64-w64-mingw32-gcc-posix
-export CXX=x86_64-w64-mingw32-g++-posix
-export STRIP=x86_64-w64-mingw32-strip
-
-curl -L https://vcvrack.com/downloads/Rack-SDK-${RACK_SDK_VERSION}-win.zip -o rack-sdk.zip
-unzip -o rack-sdk.zip
-rm rack-sdk.zip
-
-make dist
-chmod 755 dist/*vcvplugin
diff --git a/.github/actions/upload_zip/script.sh b/.github/actions/upload_zip/script.sh
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-set -eux
-
-GITHUB_API_URL=https://api.github.com
-
-GITHUB_TOKEN=$1
-
-# Get release url
-curl -o release.json \
- --header "Authorization: token ${GITHUB_TOKEN}" \
- --request GET \
- ${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/releases/${GITHUB_REF#"refs/"}
-
-UPLOAD_URL=$(jq -r .upload_url release.json)
-
-ASSET_PATH=$(ls dist/*.vcvplugin)
-ls -l "${ASSET_PATH}"
-
-curl --silent --show-error --fail -i \
- --header "Authorization: token ${GITHUB_TOKEN}" \
- --header "Content-Type: application/zstd" \
- --request POST \
- --data-binary @"${ASSET_PATH}" \
- ${UPLOAD_URL%"{?name,label\}"}?name=${ASSET_PATH#"dist/"}
diff --git a/.github/workflows/buildDevelop.yml b/.github/workflows/buildDevelop.yml
@@ -5,7 +5,7 @@ on:
- build_scripts_test
name: Develop
env:
- RACK_SDK_VERSION: 2.0.4
+ RACK_SDK_VERSION: 2.4.1
jobs:
buildLinux:
name: Build Linux
@@ -14,10 +14,3 @@ jobs:
- uses: actions/checkout@master
- name: Build Linux
uses: ./.github/actions/build_linux
- # buildWindows:
- # name: Build Windows
- # runs-on: ubuntu-latest
- # steps:
- # - uses: actions/checkout@master
- # - name: Build Windows
- # uses: ./.github/actions/build_win
diff --git a/.github/workflows/buildRelease.yml b/.github/workflows/buildRelease.yml
@@ -1,34 +0,0 @@
-on:
- release:
- types: [published]
-name: Release
-env:
- RACK_SDK_VERSION: 2.0.4
-jobs:
- buildLinux:
- name: Build Linux
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@master
- - name: Build Linux
- uses: ./.github/actions/build_linux
- - name: upload zip
- run: sh ./.github/actions/upload_zip/script.sh ${{ secrets.GITHUB_TOKEN }}
- buildWindows:
- name: Build Windows
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@master
- - name: Build Windows
- uses: ./.github/actions/build_win
- - name: upload zip
- run: sh ./.github/actions/upload_zip/script.sh ${{ secrets.GITHUB_TOKEN }}
- # buildOsx:
- # name: Build OSX
- # runs-on: ubuntu-latest
- # steps:
- # - uses: actions/checkout@master
- # - name: Build OSX
- # uses: ./.github/actions/build_osx
- # - name: upload zip
- # run: sh ./.github/actions/upload_zip/script.sh ${{ secrets.GITHUB_TOKEN }}