Skip to content

Commit

Permalink
fix windows shell and add macos deps
Browse files Browse the repository at this point in the history
  • Loading branch information
fdch committed Jun 18, 2023
1 parent 38f353d commit df1f001
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
ubuntu-latest:
runs-on: ubuntu-latest
env:
OUTPUT: fd_lib-${{ github.job }}
OUTPUT: fd_lib-ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: get pdlibbuilder
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
macos-latest:
runs-on: macos-latest
env:
OUTPUT: fd_lib-${{ github.job }}
OUTPUT: fd_lib-macos-latest
steps:
- uses: actions/checkout@v3
- name: get pdlibbuilder
Expand All @@ -46,6 +46,9 @@ jobs:
with:
repository: pure-data/pure-data
path: pure-data
- name: get dependencies
run: |
brew install automake autoconf libtool
- name: configure
run: ./config.sh
- name: make
Expand All @@ -64,21 +67,24 @@ jobs:

windows-latest:
runs-on: windows-latest
defaults:
run:
shell: bash
env:
OUTPUT: fd_lib-${{ github.job }}
OUTPUT: fd_lib-windows-latest
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/$env:PDVERSION.msw.zip"
unzip "$env:PDVERSION.msw.zip"
curl -O "http://msp.ucsd.edu/Software/$PDVERSION.msw.zip"
unzip "$PDVERSION.msw.zip"
- name: configure
run: ./config.sh
- name: make
run : make pdbinpath="$env:PDVERSION/bin" PDINCLUDEDIR="$env:PDVERSION/src" CFLAGS=-march=x86-64 -Iinclude
run : make pdbinpath="$PDVERSION/bin" PDINCLUDEDIR="$PDVERSION/src" CFLAGS=-march=x86-64 -Iinclude
- name: install lib
run: |
make install PDLIBDIR=.
Expand Down

0 comments on commit df1f001

Please sign in to comment.