-
Notifications
You must be signed in to change notification settings - Fork 1
55 lines (55 loc) · 1.6 KB
/
compile-extensions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: compile-extensions
on: [push]
jobs:
compile-puredata-linux-x86_64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install cmake
run: |
sudo apt-get update
sudo apt-get install -y cmake
- name: Install puredata
run: |
sudo apt-get update
sudo apt-get install -y puredata-dev
- name: Build and install flext
continue-on-error: true
run: |
cd creative-extensions/puredata/flext
./bootstrap.sh
./configure --enable-system=pd --with-sdkdir=/usr/include/pd
make -j$(nproc)
sudo make install
- name: Build puredata externals
run: |
cd creative-extensions/puredata
mkdir build
cd build
cmake ..
make
- uses: actions/upload-artifact@v3
with:
name: ergojunior.pd_linux
path: ~/Documents/Pd/externals/ergojunior/ergojunior.pd_linux
compile-processing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Install Java and Maven
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'oracle'
- uses: stCarolas/[email protected]
# Compile the extension
- name: Compile the extension
run: |
cd creative-extensions/processing
make
- uses: actions/upload-artifact@v3
with:
name: ergojunior.jar
path: creative-extensions/processing/target/ergo_junior_controller-1.0-SNAPSHOT.jar