Skip to content

Commit

Permalink
[Release] 1.0.0-beta7 (#61)
Browse files Browse the repository at this point in the history
* nightlies workflow

* use PD_PATH flag

* use the pd binaries on msp

* dont use powershell in unix

* fix borked ls

* point to the right sdk

* make release builds on windows

* remove pdb file filter

* use dev core

* delete release before uploading the new one

* abstraction added to convert string back to float

* giving credit (#11)

* rename tag

* provide the proper fluid path for mac builds

* provide the proper fluid path for the other 2 CCE's

* clone core not sc... 🤦‍♂️

* Add handling for MLP read methods to wrapper (#10)

* cleaned structure and copy of abstractions

* add docs to PD CI

* add pd path

* use a macos runner for docs

* correct the name for Windows .zip

* [CI] Refactor and use composite actions (#13)

* use flucoma actions instead of horrid code

* use more composite actions where possible

* remove extraneous -name:

* try a different folder structure out

* move one level up for packaging

* demoaudiofiles abstraction for the helpfiles

* added fluid.demosound~

* move to v4 of actions

* also update docs

* cosmetic changes to improve readability

* chroma help update

* remove weird magic number fixes #18

* correct order of variables in PDBufferAdaptor error message fixes #17

* corrections in progress

* chroma new format

* bufchroma done

* changing spaces for underlines for enhanced readability

* use new action for building docs

* use ubuntu to build docs

* update release workflow

* add support for core #88

* copy to datasets path

* ignore data

* copy resources data on cmake configure

* change source1 to sourcea and source2 to sourceb

* add workflow dispatch to nightly

* correct docs install source

* optional args: add to wrapper

* Wrapper: Add choices param (symbol list -> bitset)

* fix the missing ; at the end of the updated file names

* Add feature objects for slicers (#35)

* Add feature objects for slicers

* onsetfeature help file

* rt feature help files

* remove thing about pianos

* add buffer feature help files

* @Algorithm

* fixing the helpfiles

* expanded onsetfeature

* norveltyfeature fixed

* ampfeature fixed

* fixed bufampfeature

* bufnoveltyfeature corrected

* fix bufonsetfeature

* corrected range for onsetfeature viewer

* ignore more permutations of build folder

* PDWrapper: deal with some warnings

* FluidTensorView copy updates

* changing preset and interface for noveltyslice examples

* new overview including all data objects

* PDBufferAdaptor: Add redraw() and call on release()

* remove the data folder being copied in the dev packaging (#27)

* concataudiofile and it help merged in dev

* `ControlIn` objects
– properly adjust `ac` when adjusting `av` 
– ensure mListSize is always intialized to something

* Enhance/max params (#44)

* CMake: Centralise C++ version and set to 17

* Wrapper: Handle new LongRuntimeMax parameter type

* Wrapper: unused variable

* Wrapper: add `max<blah>` parameter to PD object for `LongRuntimeMaxT` 

fixes #45

* updated helpfiles for scalers to include and test inversetransform(point)

* Wrapper: fix argument count and warning printer

* Wrapper: update for `maxFFTSize`

* Wrapper: fix reset for shared objects

* Wrapper: use raw maxFFT in FFT setter

* Wrapper: fix logic for max params

* Wrapper: sort max FFT logic, fixes #48

* Enhance/generate stubs (#49)

* CMake: Generate .cpp stubs

* CMake remove old cpp stubs and scripts

* CMake add Utiltiy for making a working folder of symlinks for dev work

* Placate MSVC

* CMake: properly invoke docs

* CMake: install prefix is a cache variable

* CMake: Tidy up

* CMake: typo

* CI: update nightly workflow

* CI: remember to use correct branches

* CI: remove reference to docs job

* CMake: belatedly add branch selection for flucoma deps upon which CI relies

* CI: Correct name of Linux build artefact

* help upgrade: first batch Martin

* help upgrade: Martin's 2nd batch

* help review: martin 3rd batch

* help - typo in filename

* CMake: fix installation path for externals, fixes #50

Repeat after me: don't just paste from the Max one

* CMake: Pick up client tags for finer tilde control

* Enhance/managed objects (#47)

* Wrapper: Add managed buffers and message outptus

* Wrapper: Update outlets for list input

* Wrapper: Fix outlet reference for buffer completion

* Add header for bufinfo

* Add C++ stub for bufinfo

* Managed arrays: shrink collection when needed

* Update include/FluidPDWrapper.hpp

Remove leftover debugging `post()`

* BufferAdaptor: Ensure dirty flag is properly initialised

* Wrapper: Stop hosted buffers vector reallocating and breaking pointers

* updated helpfiles for new interface

* bufinfo help

* PD Wrapper: Quite possibly fix a double free problem for multiple inlets.

* PDWrapper: data objects respond from right outlet for read, write etc

* dataset objects: update with right outlet behaviour

Co-authored-by: tremblap <[email protected]>

* Wrapper: Cheer up MSVC

* PDWrapper: Try to swerve around GCC linking sadness

* CMake: Add local target for `fluid.bufinfo`

* FluidBufInfo: Missing include

* PDWrapper: Redo inlet proxies for less crashing

* kdtree - added 2nd tab

* kdtree 3rd tab added

* kdtree fix

* BufNNDSVD -> BufNMFSeed (#57)

* change filename

* change content

* typo in help report of bufferadaptor

* token skmeans entry and addition to overview (#59)

* [Enhance] Update Release Workflow (#60)

* update extension to be normalised

* cleanup

* update release

* remove workflow disptach variables

* fix release

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml
  • Loading branch information
James Bradbury authored Jun 14, 2022
1 parent 066d9ac commit 05236cb
Show file tree
Hide file tree
Showing 179 changed files with 7,456 additions and 5,397 deletions.
123 changes: 0 additions & 123 deletions .github/workflows/nightly.yaml

This file was deleted.

100 changes: 100 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
name: Nightly Releases

on:
workflow_dispatch:
push:
branches: [ dev, ci/** ]

jobs:
macbuild:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: flucoma/actions/env@v5
- uses: flucoma/actions/pd@v5
with:
branch: origin/dev

- name: compress archive
run: zip -r FluCoMa-PD-Mac-nightly.zip FluidCorpusManipulation
working-directory: release-packaging

- uses: actions/upload-artifact@v2
with:
name: macbuild
path: release-packaging/FluCoMa-PD-Mac-nightly.zip

winbuild:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: flucoma/actions/env@v5
- uses: flucoma/actions/pd@v5
with:
branch: origin/dev

- name: compress archive
run: 7z a FluCoMa-PD-Windows-nightly.zip FluidCorpusManipulation
working-directory: release-packaging

- uses: actions/upload-artifact@v2
with:
name: winbuild
path: release-packaging/FluCoMa-PD-Windows-nightly.zip

linuxbuild:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: flucoma/actions/env@v5
- uses: flucoma/actions/pd@v5
with:
branch: origin/dev

- name: compress archive
run: tar -zcvf FluCoMa-PD-Linux-nightly.tar.gz FluidCorpusManipulation
working-directory: release-packaging

- uses: actions/upload-artifact@v2
with:
name: linuxbuild
path: release-packaging/FluCoMa-PD-Linux-nightly.tar.gz

release:
runs-on: ubuntu-latest
needs: [macbuild, winbuild, linuxbuild]

steps:

#### LINUX ####
- uses: actions/download-artifact@v2
with:
name: linuxbuild

#### MAC ####
- uses: actions/download-artifact@v2
with:
name: macbuild

#### WINDOWS ####
- uses: actions/download-artifact@v2
with:
name: winbuild

#### UPLOAD RELEASE ####
- uses: dev-drprasad/[email protected]
with:
delete_release: true
tag_name: nightly
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: package and upload
uses: softprops/action-gh-release@v1
with:
name: FluCoMa PureData Nightly Release
body: "This is a nightly build of the FluCoMa PureData package. As such, be warned there may be bugs or other unexpected behaviour. The build hash is ${{ github.sha }}"
files: FluCoMa-PD-*
prerelease: true
tag_name: nightly
draft: false
110 changes: 36 additions & 74 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,132 +1,94 @@
name: Release
on:
workflow_dispatch:
inputs:
base:
description: 'Base branch to deploy core from'
required: false
default: 'main'

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: flucoma/actions/env@v4
with:
branch: ${{ github.event.inputs.base }}
- uses: flucoma/actions/docs@v4
with:
target: MAKE_PD_REF
branch: ${{ github.event.inputs.base }}

- uses: actions/upload-artifact@v2
with:
name: docs
path: build/pd_ref

macbuild:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: flucoma/actions/env@v4
- uses: flucoma/actions/env@v5
- uses: flucoma/actions/pd@v5
with:
branch: ${{ github.event.inputs.base }}
- uses: flucoma/actions/pd@v4
branch: origin/main

- name: compress archive
run: zip -r FluCoMa-PD-Mac.zip FluidCorpusManipulation
working-directory: release-packaging

- uses: actions/upload-artifact@v2
with:
name: macbuild
path: release-packaging
- uses: actions/upload-artifact@v2
with:
name: macbuild
path: release-packaging/FluCoMa-PD-Mac.zip

winbuild:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: flucoma/actions/env@v4
- uses: flucoma/actions/env@v5
- uses: flucoma/actions/pd@v5
with:
branch: ${{ github.event.inputs.base }}
- uses: flucoma/actions/pd@v4
branch: origin/main

- name: compress archive
run: 7z a FluCoMa-PD-Windows.zip FluidCorpusManipulation
working-directory: release-packaging

- uses: actions/upload-artifact@v2
with:
name: winbuild
path: "release-packaging"
- uses: actions/upload-artifact@v2
with:
name: winbuild
path: release-packaging/FluCoMa-PD-Windows.zip

linuxbuild:
runs-on: ubuntu-18.04
outputs:
version: ${{ steps.get-version.outputs.version }}
steps:
- uses: actions/checkout@v2
- uses: flucoma/actions/env@v4
- uses: flucoma/actions/env@v5
- uses: flucoma/actions/pd@v5
with:
branch: ${{ github.event.inputs.base }}
- uses: flucoma/actions/pd@v4
branch: origin/main

- uses: actions/upload-artifact@v2
with:
name: linuxbuild
path: release-packaging
- name: compress archive
run: tar -zcvf FluCoMa-PD-Linux.tar.gz FluidCorpusManipulation
working-directory: release-packaging

- uses: actions/upload-artifact@v2
with:
name: linuxbuild
path: release-packaging/FluCoMa-PD-Linux.tar.gz

- id: get-version
run: echo "::set-output name=version::$(cat flucoma.version.rc)"
working-directory: core
working-directory: build/_deps/flucoma-core-src

release:
runs-on: ubuntu-latest
needs: [macbuild, winbuild, linuxbuild, docs]
needs: [macbuild, winbuild, linuxbuild]

steps:
- uses: actions/download-artifact@v2
with:
name: docs
path: docs

#### LINUX ####
- uses: actions/download-artifact@v2
with:
name: linuxbuild
path: linux

- name: copy docs to linux
run: cp -r docs linux/FluidCorpusManipulation

- name: compress linux
run: zip -r ../FluCoMa-PD-Linux-"${{ needs.linuxbuild.outputs.version }}".zip .
working-directory: linux

#### MAC ####
- uses: actions/download-artifact@v2
with:
name: macbuild
path: mac

- name: copy docs to mac
run: cp -r docs mac/FluidCorpusManipulation

- name: compress mac
run: zip -r ../FluCoMa-PD-Mac-"${{ needs.linuxbuild.outputs.version }}".zip .
working-directory: mac

#### WINDOWS ####
- uses: actions/download-artifact@v2
with:
name: winbuild
path: win

- name: copy docs to windows
run: cp -r docs win/FluidCorpusManipulation

- name: compress windows
run: zip -r ../FluCoMa-PD-Windows-"${{ needs.linuxbuild.outputs.version }}".zip .
working-directory: win

- 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 PureData package. The build hash is ${{ github.sha }}"
files: FluCoMa*.zip
files: FluCoMa*
prerelease: true
tag_name: ${{ needs.linuxbuild.outputs.version }}
draft: false
Loading

0 comments on commit 05236cb

Please sign in to comment.