Skip to content

fix windows path

fix windows path #14

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 }}
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: pure-data
- name: configure
run: ./config.sh
- name: make
run: make PDINCLUDEDIR=pure-data/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 }}
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: pure-data
- name: configure
run: ./config.sh
- name: make
run: make PDINCLUDEDIR=pure-data/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 }}
PDVERSION: pd-0.53-2
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/$PDVERSION.msw.zip
unzip $PDVERSION.msw.zip
- name: configure
run: ./config.sh
- name: make
run : make pdbinpath=$PDVERSION/bin PDINCLUDEDIR=$PDVERSION/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