Skip to content

fix pd path

fix pd path #12

Workflow file for this run

name: fd_lib-ci
on:
push:
branches: [ "main" ]
jobs:
ubuntu-latest:
runs-on: ubuntu-latest
env:
OUTPUT: fd_lib-${{ github.job }}
PDPATH: ./pure-data
steps:
- uses: actions/checkout@v3
- name: get pdlibbuilder
run: git submodule init && git submodule update
- name: get pd
uses: actions/checkout@v2
with:
repository: pure-data/pure-data
path: $PDPATH
- name: configure
run: ./config.sh
- name: make
run: make PDINCLUDEDIR=$PDPATH/src
- name: install lib
run: |
make install PDLIBDIR=.
zip -r $OUTPUT.zip ./fd_lib
- name: upload artifacts
uses: actions/upload-artifact@v3
with:
name: $OUTPUT
path: $OUTPUT.zip
macos-latest:
runs-on: macos-latest
env:
OUTPUT: fd_lib-${{ github.job }}
PDPATH: ./pure-data
steps:
- uses: actions/checkout@v3
- name: get pdlibbuilder
run: git submodule init && git submodule update
- name: get pd
uses: actions/checkout@v2
with:
repository: pure-data/pure-data
path: $PDPATH
- name: configure
run: ./config.sh
- name: make
run: make PDINCLUDEDIR=$PDPATH/src
- name: install lib
run: |
make install PDLIBDIR=.
zip -r $OUTPUT.zip ./fd_lib
- name: upload artifacts
uses: actions/upload-artifact@v3
with:
name: $OUTPUT
path: $OUTPUT.zip
windows-latest:
runs-on: windows-latest
env:
OUTPUT: fd_lib-${{ github.job }}
PDPATH: ./pure-data
steps:
- uses: actions/checkout@v3
- name: get pdlibbuilder
run: git submodule init && git submodule update
- name: get pd
run: |
curl -O http://msp.ucsd.edu/Software/pd-0.53-2.msw.zip
unzip -d $PDPATH pd-0.53-2.msw.zip
- name: configure
run: ./config.sh
- name: make
run : make pdbinpath=$PDPATH/bin PDINCLUDEDIR=$PDPATH/src CFLAGS=-march=x86-64 -Iinclude
- name: install lib
run: |
make install PDLIBDIR=.
zip -r $OUTPUT.zip ./fd_lib
- name: upload artifacts
uses: actions/upload-artifact@v3
with:
name: $OUTPUT
path: $OUTPUT.zip