You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
108 lines
2.9 KiB
YAML
108 lines
2.9 KiB
YAML
name: nightly
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [ dev, ci/** ]
|
|
|
|
jobs:
|
|
macbuild:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: flucoma/actions/env@main
|
|
- uses: flucoma/actions/sc@main
|
|
with:
|
|
branch: origin/dev
|
|
|
|
- name: sign binaries
|
|
uses: flucoma/actions/distribution@main
|
|
with:
|
|
glob: '-e scx'
|
|
package: 'install'
|
|
output_type: 'dmg'
|
|
output: FluCoMa-SC-Mac-nightly
|
|
cert: ${{ secrets.CERT }}
|
|
certpwd: ${{ secrets.CERTPWD }}
|
|
teamid: ${{ secrets.WWDRTEAMID }}
|
|
apppwd: ${{ secrets.APPSTORECONNECTPWD }}
|
|
appusr: ${{ secrets.APPSTORECONNECTUSERNAME }}
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: macbuild
|
|
path: install/FluCoMa-SC-Mac-nightly.dmg
|
|
|
|
winbuild:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: flucoma/actions/env@main
|
|
- uses: flucoma/actions/sc@main
|
|
with:
|
|
branch: origin/dev
|
|
|
|
- name: remove pdb files
|
|
run: Remove-Item install -Recurse -Include *.pdb
|
|
|
|
- name: compress archive
|
|
run: 7z a FluCoMa-SC-Windows-nightly.zip FluidCorpusManipulation
|
|
working-directory: install
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: winbuild
|
|
path: install/FluCoMa-SC-Windows-nightly.zip
|
|
|
|
|
|
linuxbuild:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: flucoma/actions/env@main
|
|
- uses: flucoma/actions/sc@main
|
|
with:
|
|
branch: origin/dev
|
|
|
|
- name: compress archive
|
|
run: tar -zcvf FluCoMa-SC-Linux-nightly.tar.gz FluidCorpusManipulation
|
|
working-directory: install
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: linuxbuild
|
|
path: install/FluCoMa-SC-Linux-nightly.tar.gz
|
|
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
needs: [macbuild, winbuild, linuxbuild]
|
|
steps:
|
|
|
|
- uses: actions/download-artifact@v2
|
|
with:
|
|
name: macbuild
|
|
|
|
- uses: actions/download-artifact@v2
|
|
with:
|
|
name: winbuild
|
|
|
|
- uses: actions/download-artifact@v2
|
|
with:
|
|
name: linuxbuild
|
|
|
|
- uses: dev-drprasad/delete-tag-and-release@v0.2.0
|
|
with:
|
|
delete_release: true # default: false
|
|
tag_name: nightly # tag name to delete
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: package and upload
|
|
uses: softprops/action-gh-release@v1
|
|
with:
|
|
name: FluCoMa SuperCollider Nightly Release
|
|
body: "This is a nightly build of the FluCoMa SuperCollider package. As such, be warned there may be bugs or other unexpected behaviour. The build hash is ${{ github.sha }}"
|
|
files: FluCoMa*
|
|
prerelease: true
|
|
tag_name: nightly
|
|
draft: false
|