Skip to content

Commit

Permalink
try to fix file endings for old Pd versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-wes committed May 24, 2024
1 parent 6c498d0 commit cc27c10
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/compile-and-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ jobs:
run: brew install make

- name: Compile external
run: make install floatsize=${{ matrix.precision }} extension=darwin-${{ matrix.arch }}-${{ matrix.precision }}.so arch="x86_64 arm64"
run: |
if [ ${{ matrix.precision }} -eq 32 ]; then
make install floatsize=32 extension=d_fat arch="x86_64 arm64"
else
make install floatsize=64 extension=darwin-${{ matrix.arch }}.so arch="x86_64 arm64"
fi
- name: Archive artifacts
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -82,7 +87,7 @@ jobs:
shell: bash
run: |
export PATH="/c/msys64/mingw64/bin:$PATH" # Ensure MinGW GCC is preferred if needed
make install CC=gcc PDINCLUDEDIR="pd-${{env.PD_VERSION}}/src" PDDIR="pd-${{env.PD_VERSION}}" PDBINDIR="pd-${{env.PD_VERSION}}/bin" extension=windows-${{ matrix.arch }}-32.dll
make install CC=gcc PDINCLUDEDIR="pd-${{env.PD_VERSION}}/src" PDDIR="pd-${{env.PD_VERSION}}" PDBINDIR="pd-${{env.PD_VERSION}}/bin" extension=dll
- name: Archive artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit cc27c10

Please sign in to comment.