Skip to content
Merged
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
a604bda
incorporate Ted's changes and recommendations
jamesb93 Sep 13, 2021
9d12af8
Adjust cmake to handle changes to Max SDK from 8.2 onwards (#32)
weefuzzy Sep 16, 2021
ebcfc34
Merge branch 'main' into ci/automatic-building
Nov 4, 2021
0662ceb
Update macos-build-test.yml
Nov 4, 2021
62abf80
you actually have to git clone...
Nov 4, 2021
508aad9
only build ampslice for now
Nov 4, 2021
2798718
test releasing
Nov 4, 2021
8143d44
make names + commits
Nov 4, 2021
47e66fc
give a proper asset name
Nov 4, 2021
e0b99b6
use ref for tag
Nov 4, 2021
6aa2517
Update macos-build-test.yml
Nov 4, 2021
b0f3ae4
spell prerelease properly
Nov 4, 2021
ad6b3f0
change convention for naming n stuff
Nov 4, 2021
42e18c7
Update macos-build-test.yml
Nov 4, 2021
3ff058a
add windows-build script
Nov 5, 2021
c5299d8
quotes around path for windows
Nov 5, 2021
3c06555
test a composite workflow
Nov 5, 2021
985c19b
update composite
Nov 5, 2021
6dd7637
make a nightly action
Nov 5, 2021
e181b00
now check to see if we can build and see an external
Nov 5, 2021
9c2892f
update infrastructure
Nov 5, 2021
f979bf7
check with cached outputs too
Nov 5, 2021
472c854
pre check in the right place
Nov 5, 2021
e134ec2
dont check a non-existant file
Nov 5, 2021
91717dc
remove nightly cache workflow
Nov 5, 2021
be52285
build and combine
Nov 5, 2021
77df793
remove bad line
Nov 5, 2021
5f48b94
do some sanity checks for cleaning
Nov 5, 2021
198d575
inspect what is going on
Nov 5, 2021
590df7f
cleanup ls -R and change to latest macos
Nov 5, 2021
9b8881e
see if we can copy the entire externals folder
Nov 5, 2021
f99b913
check
Nov 5, 2021
e6bb887
now build fat and see
Nov 5, 2021
11a2ee9
remove mistake space
Nov 5, 2021
4d033bf
get uname
Nov 5, 2021
cf02eb9
get clang version
Nov 5, 2021
3229797
get system info
Nov 5, 2021
9d05006
try some silicon black magic
Nov 5, 2021
cda858b
use custom core
Nov 5, 2021
7167065
use https
Nov 5, 2021
6c926e1
check if core is there
Nov 5, 2021
04dcc6e
core is only one folder up
Nov 5, 2021
6e2dfb8
make a release again
Nov 5, 2021
b15bb76
make externals early
Nov 5, 2021
d16605f
🩴 :burger:
Nov 5, 2021
79906f8
pass DCMAKE_APPLE flag
Nov 5, 2021
bfb10ed
full install of max
Nov 6, 2021
85eeba8
make release builds on windows
Nov 6, 2021
d2fbf24
remove pdbs from release-packaging
Nov 6, 2021
f07e2c3
dont remove pdb files
Nov 7, 2021
1ad4c38
fix paths because they have spaces 👿
Nov 7, 2021
f7b1b26
try and deal with the hell that is windows
Nov 7, 2021
535534b
now release it!
Nov 7, 2021
fd85d3d
try again
Nov 7, 2021
2478f52
only build on dev and ci branches
Nov 7, 2021
0f45dab
now with DDOCS=ON
Nov 7, 2021
bba2e23
ddocs off
Nov 8, 2021
2f0bdcc
provide a more detailed tag for nightly builds
Nov 15, 2021
14e25ab
also make docs
Nov 17, 2021
38c9c80
use blas compilation branch (temporarily)
Nov 24, 2021
077a6c0
fix malformed paths
Nov 24, 2021
40cde45
missing -D
Nov 24, 2021
711b6a5
take max_ref and merge with final compile
Nov 24, 2021
8ea2254
delete nightly before remaking it
Nov 25, 2021
ccc3322
delete extraneous experimental patch
Nov 28, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
159 changes: 159 additions & 0 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
name: Nightly Releases

on:
push:
branches: [ dev, ci/automatic-building ]
pull_request:
branches: [ dev ]

jobs:
docs:
runs-on: macos-11
steps:
- uses: actions/checkout@v2

- name: install ninja
run: brew install ninja

- name: get max sdk
run: git clone --recursive https://github.com/Cycling74/max-sdk.git sdk

- name: install python dependencies
run: pip3 install pyyaml docutils jinja2

- name: make build directory
run: mkdir -p build

- name: create externals folder
run: mkdir -p externals

- name: clone latest flucoma-core
run: git clone --branch fix/blas-compilation-settings https://github.com/jamesb93/flucoma-core.git core

- name: cmake
run: cmake -GNinja -DDOCS=ON -DFLUID_PATH=../core -DMAX_SDK_PATH=../sdk/ ..
working-directory: build

- name: install
run: ninja MAKE_MAX_REF
working-directory: build

- uses: actions/upload-artifact@v2
with:
name: docsbuild
path: build/max_ref

winbuild:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2

- name: get max sdk
run: git clone --recursive https://github.com/Cycling74/max-sdk.git sdk

- name: make build directory
run: mkdir -p build

- name: clone latest flucoma-core
run: git clone --branch fix/blas-compilation-settings https://github.com/jamesb93/flucoma-core.git core

- name: cmake
run: cmake -DFLUID_PATH="../core" -DMAX_SDK_PATH="../sdk/" ..
working-directory: build

- name: build binaries
run: cmake --build . --target install --config Release
working-directory: build

- name: see
run: ls
working-directory: "release-packaging/Fluid Corpus Manipulation/"

- uses: actions/upload-artifact@v2
with:
name: winbuild
path: "release-packaging/Fluid Corpus Manipulation/externals/"

macbuild:
runs-on: macos-11

steps:
- uses: actions/checkout@v2

- name: install ninja
run: brew install ninja

- name: get max sdk
run: git clone --recursive https://github.com/Cycling74/max-sdk.git sdk

- name: make build directory
run: mkdir -p build

- name: create externals folder
run: mkdir -p externals

- name: clone latest flucoma-core
run: git clone --branch fix/blas-compilation-settings https://github.com/jamesb93/flucoma-core.git core

- name: cmake
run: cmake -GNinja -DFLUID_PATH=../core -DMAX_SDK_PATH=../sdk/ -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" ..
working-directory: build

- name: install
run: ninja install
working-directory: build

- uses: actions/upload-artifact@v2
with:
name: macbuild
path: release-packaging/Fluid\ Corpus\ Manipulation/

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

steps:
- name: make parent folder
run : mkdir -p "Fluid Corpus Manipulation"

- uses: actions/download-artifact@v2
with:
name: macbuild
path: "Fluid Corpus Manipulation"

- uses: actions/download-artifact@v2
with:
name: winbuild
path: "Fluid Corpus Manipulation/externals"

- uses: actions/download-artifact@v2
with:
name: docsbuild
path: "Fluid Corpus Manipulation/docs"

- name: zip
run: zip -r FluCoMa-Max-nightly.zip "Fluid Corpus Manipulation"

- name: see
run: ls

- uses: dev-drprasad/delete-tag-and-release@v0.2.0
with:
delete_release: true # default: false
tag_name: 1.0.0-nightly # tag name to delete
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: package and upload
uses: svenstaro/upload-release-action@v2
with:
release_name: FluCoMa Max Nightly Build
prerelease: true
body: "This is a nightly build of the FluCoMa Max package. As such, be warned there may be bugs or other unexpected behaviour. The build hash is ${{ github.sha }}"
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: FluCoMa-Max-nightly.zip
asset_name: FluCoMa-Max-nightly.zip
tag: 1.0.0-nightly
overwrite: true