Repository navigation
132 lines (113 loc) · 4 KB
/
Copy pathbuild.yml
File metadata and controls
132 lines (113 loc) · 4 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
name: Build CI
on:
push:
pull_request:
branches: [ develop ]
jobs:
# ===============================================================
# ===============================================================
# ===============================================================
Linux-amd64:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Install PureData
run: sudo apt-get install puredata -y
- name: Downloads pd-Sources
run: |
PD_URL=$(curl -L -s https://api.github.com/repos/pure-data/pure-data/tags | grep zipball_url | grep -v latest | grep -v pd-0.54 | grep -v tagtest | head -n 1 | cut -d '"' -f 4)
curl -L -o pure-data.zip $PD_URL
unzip pure-data.zip
rm pure-data.zip
mv pure-data-* pure-data
- name: Build pd-PDNAM
run: |
make install PDINCLUDEDIR=./pure-data/src PDLIBDIR=./pd-PDNAM arch=x86_64 extension=l_amd64
- name: Upload Zip
uses: actions/upload-artifact@v6
with:
name: PDNAM-Linux-amd64
path: ./pd-PDNAM/*
# ===============================================================
# ===============================================================
# ===============================================================
Linux-arm64:
runs-on: ubuntu-22.04-arm
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Install PureData
run: sudo apt-get install puredata -y
- name: Downloads pd-Sources
run: |
PD_URL=$(curl -L -s https://api.github.com/repos/pure-data/pure-data/tags | grep zipball_url | grep -v latest | grep -v pd-0.54 | grep -v tagtest | head -n 1 | cut -d '"' -f 4)
curl -L -o pure-data.zip $PD_URL
unzip pure-data.zip
rm pure-data.zip
mv pure-data-* pure-data
- name: Build pd-PDNAM
run: |
make install PDINCLUDEDIR=./pure-data/src PDLIBDIR=./pd-PDNAM arch=aarch64 extension=l_arm64
- name: Upload Zip
uses: actions/upload-artifact@v6
with:
name: PDNAM-Linux-arm64
path: ./pd-PDNAM/*
# # # # ===============================================================
# # # # ===============================================================
# # # # ===============================================================
Windows-Build:
runs-on: windows-latest
timeout-minutes: 25
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- if: runner.os == 'Windows'
name: "Install mingw deps"
uses: msys2/setup-msys2@v2
with:
install: make mingw-w64-x86_64-gcc mingw64/mingw-w64-x86_64-ntldd-git mingw-w64-x86_64-fluidsynth mingw64/mingw-w64-x86_64-cmake unzip curl
update: false
- if: runner.os == 'Windows'
name: Get Pd
shell: msys2 {0}
run: |
curl -L -o pure-data.zip http://msp.ucsd.edu/Software/pd-0.54-0.msw.zip
unzip pure-data.zip
rm pure-data.zip
rename pd-0.54-0 pure-data pd-0.54-0
- if: runner.os == 'Windows'
name: Build pd-else
shell: msys2 {0}
run: |
make install PDDIR=./pure-data PDLIBDIR=./pd-PDNAM extension=m_amd64
- name: Upload Zip
uses: actions/upload-artifact@v6
with:
name: PDNAM-Windows
path: ./pd-PDNAM/*
# ===============================================================
# ===============================================================
# ===============================================================
Mac-Universal:
runs-on: macos-latest
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- name: set Enviroment
run: |
brew cleanup --prune=all
brew install --cask pd
- name: Build pd-PDNAM
run: |
make install PDLIBDIR=./pd-PDNAM arch="x86_64 arm64" extension=d_fat
- name: Upload Zip
uses: actions/upload-artifact@v6
with:
name: PDNAM-macOS-universal
path: ./pd-PDNAM/*