-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from cieldeville/master
Fixed GitHub Actions for automated builds
- Loading branch information
Showing
9 changed files
with
303 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Build All | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
schedule: | ||
- cron: '37 4 13 * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
max_build_windows: | ||
uses: ./.github/workflows/max-windows.yml | ||
max_build_macos: | ||
uses: ./.github/workflows/max-macos.yml | ||
pd_build_windows: | ||
uses: ./.github/workflows/pd-windows.yml | ||
pd_build_macos: | ||
uses: ./.github/workflows/pd-macos.yml | ||
pd_build_linux: | ||
uses: ./.github/workflows/pd-linux.yml |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Build MaxMSP Windows | ||
|
||
on: [workflow_dispatch, workflow_call] | ||
|
||
jobs: | ||
# ========================== | ||
# MaxMSP Build | ||
# ========================== | ||
|
||
# System: macOS | ||
# Architecture: MaxMSP | ||
max_build_macos: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Check out mdeGranular | ||
uses: actions/checkout@v4 | ||
with: | ||
path: 'mde' | ||
submodules: 'recursive' | ||
- name: Install system libraries | ||
run: brew install autoconf automake libtool tree cmake | ||
- name: Prepare mdeGranular~ XCode project via CMake | ||
run: | | ||
cd $GITHUB_WORKSPACE/mde/max/cmake | ||
cmake -G Xcode -B ./build -S . | ||
xcodebuild -list -project $GITHUB_WORKSPACE/mde/max/cmake/build/mdeGranular.xcodeproj | ||
- name: Build mdeGranular | ||
run: | | ||
xcodebuild -project $GITHUB_WORKSPACE/mde/max/cmake/build/mdeGranular.xcodeproj -scheme mdeGranular -configuration Release build | ||
- name: Post Build deployment | ||
run: | | ||
cd $GITHUB_WORKSPACE/mde/max/cmake/build/Release | ||
mkdir temp | ||
mv mdeGranular~.mxo/ temp/ | ||
mv temp/ mdeGranular~.mxo/ | ||
- name: Upload Binaries | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: mdeGranular~.mxo | ||
path: ${{ github.workspace }}/mde/max/cmake/build/Release/mdeGranular~.mxo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Build MaxMSP Windows | ||
|
||
on: [workflow_dispatch, workflow_call] | ||
|
||
jobs: | ||
# ========================== | ||
# MaxMSP Build | ||
# ========================== | ||
|
||
# System: Windows | ||
# Architecture: MaxMSP | ||
max_build_windows: | ||
runs-on: windows-latest | ||
env: | ||
MSYSTEM: 'MINGW64' | ||
CHERE_INVOKING: 1 | ||
PDINCLUDEDIR: /mingw64/include | ||
PDBINDIR: /mingw64/bin | ||
PDLIBDIR: /mingw64/bin | ||
defaults: | ||
run: | ||
shell: msys2 {0} | ||
|
||
steps: | ||
- name: Setup MSYS2 | ||
uses: msys2/setup-msys2@v2 | ||
with: | ||
msystem: MINGW64 | ||
update: true | ||
install: git mingw-w64-x86_64-toolchain base-devel | ||
- name: Check out mdeGranular | ||
uses: actions/checkout@v4 | ||
with: | ||
path: 'mde' | ||
submodules: 'recursive' | ||
- name: Build mdeGranular | ||
run: | | ||
cd $GITHUB_WORKSPACE/mde/max/windows | ||
make | ||
- name: Upload Binaries | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: mdeGranular~.mxe64 | ||
path: ${{ github.workspace }}/mde/max/windows/mdeGranular~.mxe64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Build Pure-Data Linux | ||
|
||
on: [workflow_dispatch, workflow_call] | ||
|
||
jobs: | ||
# ========================== | ||
# Pure-Data Build | ||
# ========================== | ||
|
||
# System: Linux | ||
# Architecture: Pure Data | ||
pd_build_linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out Pure-Data | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: 'pure-data/pure-data' | ||
path: 'pd' | ||
- name: Check out mdeGranular | ||
uses: actions/checkout@v4 | ||
with: | ||
path: 'mde' | ||
- name: Install system libraries | ||
run: sudo apt-get install build-essential libasound2-dev | ||
- name: Build and Install Pure-Data | ||
run: | | ||
cd $GITHUB_WORKSPACE/pd | ||
./autogen.sh | ||
./configure | ||
make | ||
sudo make install | ||
- name: Build and Install mdeGranular | ||
run: | | ||
cd $GITHUB_WORKSPACE/mde/pd | ||
make | ||
- name: Upload Binaries | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: mdeGranular~.pd_linux | ||
path: ${{ github.workspace }}/mde/pd/mdeGranular~.pd_linux |
Oops, something went wrong.