Skip to content

Commit 13691ef

Browse files
committed
update the pd Action with MinGW conan profile
1 parent 7810953 commit 13691ef

1 file changed

Lines changed: 20 additions & 34 deletions

File tree

.github/workflows/build-puredata-plugins-with-pd-lib-builder.yml

Lines changed: 20 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: build pd-lib-builder based pure data externals
33

4-
on:
4+
on:
55
workflow_call:
66
workflow_dispatch:
77
# push:
@@ -53,7 +53,7 @@ jobs:
5353
- name: Build & Install
5454
working-directory: puredata
5555
run: |
56-
make
56+
make
5757
make install PDLIBDIR=build
5858
5959
- name: Upload macOS artifacts
@@ -96,7 +96,7 @@ jobs:
9696
- name: Build & Install
9797
working-directory: puredata
9898
run: |
99-
make
99+
make
100100
make install PDLIBDIR=build
101101
102102
- name: Upload Linux artifacts
@@ -107,24 +107,17 @@ jobs:
107107

108108
windows:
109109
runs-on: windows-latest
110-
defaults:
111-
run:
112-
shell: msys2 {0}
113110
steps:
114-
- name: Install MSYS2
115-
uses: msys2/setup-msys2@v2
111+
- name: Checkout Code
112+
uses: actions/checkout@v3
116113
with:
117-
release: false
118-
path-type: inherit
119-
install: >-
120-
mingw-w64-x86_64-ntldd-git
121-
122-
- name: Find usable compiler
123-
id: compiler
124-
run: |
125-
for cc in cc gcc clang; do echo "testing compiler $cc"; "${cc}" -dumpmachine && export CC=${CC:-$cc} || true; done
126-
echo "CC=${CC}" | tee "$GITHUB_OUTPUT"
127-
114+
submodules: true
115+
116+
- name: Set up MinGW
117+
uses: egor-tensin/setup-mingw@v3
118+
with:
119+
arch: x64
120+
128121
- name: Install Pd
129122
id: pd
130123
run: |
@@ -135,44 +128,37 @@ jobs:
135128
rm -f Pd.zip
136129
export PD="${PROGRAMFILES}/pd/bin/pd.com"
137130
echo "PD=${PD}" | tee "$GITHUB_OUTPUT"
138-
139-
- name: Checkout Code
140-
uses: actions/checkout@v3
141-
with:
142-
submodules: true
143-
131+
144132
- name: Download zerr-core library
145133
uses: actions/download-artifact@v4
146134
with:
147135
name: zerr-core-windows
148136
path: core/lib/
149137
run-id: ${{ github.event.workflow_run.id }}
150138
github-token: ${{ github.token }}
151-
152-
- name: Display structure of downloaded files
153-
run: ls -la core/lib/
154-
139+
140+
# - name: Display structure of downloaded files
141+
# run: ls -la core/lib/
142+
155143
- name: Set up Conan
156144
run: |
157145
pip install conan
158146
conan profile detect
159-
147+
160148
- name: Configure Conan
161149
working-directory: puredata
162150
run: |
163151
mkdir -p build
164152
conan install . --output-folder=build --build=missing
165-
153+
166154
- name: Build & Install
167155
working-directory: puredata
168156
run: |
169-
make
157+
make
170158
make install PDLIBDIR=build
171-
172159
173160
- name: Upload Windows artifacts
174161
uses: actions/upload-artifact@v4
175162
with:
176163
name: zerr-pd-windows
177164
path: puredata/build/zerr
178-

0 commit comments

Comments
 (0)