Minor version update #52
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Cross-platform Compile | |
| on: | |
| pull_request: | |
| branches: [ "main" ] | |
| paths: | |
| - "include/**" | |
| - "src/**" | |
| - "Makefile" | |
| - "config.sh" | |
| jobs: | |
| ubuntu-latest: | |
| runs-on: ubuntu-latest | |
| env: | |
| OUTPUT: fd_lib-ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: ./.github/actions/setup-pd | |
| - name: configure | |
| run: bash config.sh | |
| - name: make | |
| run: make PDINCLUDEDIR=pure-data/src | |
| - name: package lib | |
| uses: ./.github/actions/package-lib | |
| macos-latest: | |
| runs-on: macos-latest | |
| env: | |
| OUTPUT: fd_lib-macos-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: ./.github/actions/setup-pd | |
| - name: get dependencies | |
| run: | | |
| brew install automake autoconf libtool | |
| - name: configure | |
| run: bash config.sh | |
| - name: make | |
| run: make PDINCLUDEDIR=pure-data/src | |
| - name: package lib | |
| uses: ./.github/actions/package-lib | |
| windows-latest: | |
| runs-on: windows-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| env: | |
| OUTPUT: fd_lib-windows-latest | |
| PDVERSION: pd-0.56-2 | |
| steps: | |
| - name: set environment variable | |
| run: echo "LOCAL_SHORT_COMMANDS=true" >> $GITHUB_ENV | |
| - uses: actions/checkout@v5 | |
| - 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: bash config.sh | |
| - name: make | |
| run : make pdbinpath="$PDVERSION/bin" PDINCLUDEDIR="$PDVERSION/src" CFLAGS=-march=x86-64 | |
| - name: package lib | |
| uses: ./.github/actions/package-lib |