Merge branch 'main' into dev

nix
Owen Green 4 years ago committed by GitHub
commit 75b68eeedf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,7 @@
name: Nightly Releases name: Nightly Releases
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
branches: [ dev, ci/** ] branches: [ dev, ci/** ]
@ -31,6 +32,7 @@ jobs:
name: macbuild name: macbuild
path: install path: install
winbuild: winbuild:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
@ -47,6 +49,7 @@ jobs:
name: winbuild name: winbuild
path: install path: install
linuxbuild: linuxbuild:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
@ -82,6 +85,7 @@ jobs:
run: zip -r ../FluCoMa-SC-Mac-nightly.zip . run: zip -r ../FluCoMa-SC-Mac-nightly.zip .
working-directory: mac working-directory: mac
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v2
with: with:
name: winbuild name: winbuild
@ -94,9 +98,11 @@ jobs:
run: zip -r ../FluCoMa-SC-Windows-nightly.zip . run: zip -r ../FluCoMa-SC-Windows-nightly.zip .
working-directory: win working-directory: win
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v2
with: with:
name: linuxbuild name: linuxbuild
path: linux path: linux
- name: copy docs to linux - name: copy docs to linux
@ -106,6 +112,7 @@ jobs:
run: zip -r ../FluCoMa-SC-Linux-nightly.zip . run: zip -r ../FluCoMa-SC-Linux-nightly.zip .
working-directory: linux working-directory: linux
- uses: dev-drprasad/delete-tag-and-release@v0.2.0 - uses: dev-drprasad/delete-tag-and-release@v0.2.0
with: with:
delete_release: true # default: false delete_release: true # default: false

@ -0,0 +1,101 @@
name: Release
on:
workflow_dispatch:
inputs:
base:
description: 'Base branch to deploy core from'
required: false
default: 'main'
jobs:
macbuild:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: flucoma/actions/env@v4
with:
branch: ${{ github.event.inputs.base }}
- uses: flucoma/actions/sc@v4
- name: zip release
run: zip -r ../FluCoMa-SC-Mac-nightly.zip FluidCorpusManipulation
working-directory: install
- uses: actions/upload-artifact@v2
with:
name: macbuild
path: FluCoMa-SC-Mac-"${{ needs.linuxbuild.outputs.version }}".zip
winbuild:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: flucoma/actions/env@v4
with:
branch: ${{ github.event.inputs.base }}
- uses: flucoma/actions/sc@v4
- name: remove pdb files
run: Remove-Item install -Recurse -Include *.pdb
- name: zip release
run: Compress-Archive install/FluidCorpusManipulation FluCoMa-SC-Windows-nightly.zip
- uses: actions/upload-artifact@v2
with:
name: winbuild
path: FluCoMa-SC-Windows-"${{ needs.linuxbuild.outputs.version }}".zip
linuxbuild:
runs-on: ubuntu-18.04
outputs:
version: ${{ steps.get-version.outputs.version }}
steps:
- uses: actions/checkout@v2
- uses: flucoma/actions/env@v4
with:
branch: ${{ github.event.inputs.base }}
- uses: flucoma/actions/sc@v4
- name: zip release
run: zip -r ../FluCoMa-SC-Linux-nightly.zip FluidCorpusManipulation
working-directory: install
- id: get-version
run: echo "::set-output name=version::$(cat flucoma.version.rc)"
working-directory: core
- uses: actions/upload-artifact@v2
with:
name: linuxbuild
path: FluCoMa-SC-Linux-"${{ needs.linuxbuild.outputs.version }}".zip
release:
runs-on: ubuntu-latest
needs: [macbuild, winbuild, linuxbuild]
steps:
- uses: actions/download-artifact@v2
with:
name: macbuild
path: .
- uses: actions/download-artifact@v2
with:
name: winbuild
path: .
- uses: actions/download-artifact@v2
with:
name: linuxbuild
path: .
- name: package and upload
uses: softprops/action-gh-release@v1
with:
name: ${{ needs.linuxbuild.outputs.version }}
body: "This is a release build of the FluCoMa SuperCollider package. The build hash is ${{ github.sha }}"
files: FluCoMa*.zip
prerelease: true
tag_name: ${{ needs.linuxbuild.outputs.version }}
draft: false

@ -2,34 +2,26 @@
This repository hosts code for generating the SC objects and documentation resources for the Fluid Corpus Manipulation Project. Much of the actual code that does the exciting stuff lives in this repository's principal dependency, the [Fluid Corpus Manipulation Library](https://github.com/flucoma/flucoma-core). This repository hosts code for generating the SC objects and documentation resources for the Fluid Corpus Manipulation Project. Much of the actual code that does the exciting stuff lives in this repository's principal dependency, the [Fluid Corpus Manipulation Library](https://github.com/flucoma/flucoma-core).
You can also download the most [recent release](https://learn.flucoma.org/installation/sc) or the most recent [nightly build](https://github.com/flucoma/flucoma-sc/releases/tag/nightly). You can also download the most [recent release](https://learn.flucoma.org/installation/sc) or the most recent [nightly build](https://github.com/flucoma/flucoma-sc/releases/tag/nightly).
Note that on macOS you may need to [dequarantine](https://learn.flucoma.org/installation/sc#step-3-dequarantine-scx-extensions) the binary files. Note that on macOS you may need to [dequarantine](https://learn.flucoma.org/installation/sc#step-3-dequarantine-scx-extensions) the binary files.
## Pre-requisites ## Pre-requisites
- [CMake](http://cmake.org) >= 3.11
- A C++ 14 compliant compiler for Mac or Windows (via XCode tools on Mac, and Visual Studio 17 >= 15.9 on Windows)
## Dependencies
- [SC Source Code](https://github.com/supercollider/supercollider): this is the only dependency we don't (optionally) manage for you, so there must be a version available to point to when you run, using the CMake Variable `SC_PATH` (see below). It can live anywhere on your file system.
These will be downloaded and configured automatically, unless you pass CMake a source code location on disk for each (see below):
- [Fluid Corpus Manipulation Library](https://github.com/flucoma/flucoma-core) * C++14 compliant compiler (clang, GCC or MSVC)
- [Eigen](https://gitlab.com/libeigen/eigen) (3.3.5) * cmake
- [HISSTools Library](https://github.com/AlexHarker/HISSTools_Library) * make (or Ninja or XCode or VisualStudio)
* git
* an internet connection
* [SuperCollider Source Code](https://github.com/supercollider/supercollider)
## I'm in a Hurry... CMake will automatically download the other dependencies needed
...and you already have a development environment set up, understand CMake, and have the SC source available? ```bash
Cool:
```
mkdir -p build && cd build mkdir -p build && cd build
cmake -DSC_PATH=<location of your SC source> .. cmake -DSC_PATH=</path/to/sc> ..
make install make install
``` ```
@ -68,6 +60,8 @@ For ARM, we use the following default set of flags (with the Bela in mind):
``` ```
-march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon -march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon
``` ```
=======
This will assemble a package in `release-packaging`.
## Credits ## Credits
#### FluCoMa core development team (in alphabetical order) #### FluCoMa core development team (in alphabetical order)

Loading…
Cancel
Save