Update pd-lua to 0.12.22 (more bugfixes). #589
This file contains 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: Makefile CI | |
on: | |
push: | |
branches: [ master, release, testing ] | |
tags: [ '*' ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
macos-build: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
fetch-depth: 0 | |
- name: install dependencies | |
run: | | |
brew install automake | |
brew install fftw | |
brew install fluidsynth | |
brew install faac | |
brew install jpeg | |
brew install speex | |
brew install gsl | |
brew install libquicktime | |
brew install sdl2 | |
pip3 install markdown | |
- name: version | |
run: | | |
echo "version=$(git describe --tags)" >> $GITHUB_ENV | |
- name: make | |
run: | | |
echo version: $version | |
make V=0 | |
- name: check | |
run: make check | |
- name: upload | |
uses: actions/upload-artifact@v3 | |
with: | |
name: purr-data-${{ env.version }}-macos-x86_64 | |
path: Purr-Data-*.dmg | |
retention-days: 2 | |
ubuntu-build: | |
runs-on: ubuntu-latest | |
env: | |
DEBEMAIL: "Albert Graef <aggraef@gmail.com>" | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
fetch-depth: 0 | |
- name: install dependencies | |
run: | | |
# dance around Azure connectivity issues | |
sudo apt-get update && sudo apt-get -o Acquire::Retries=3 install -q -y debhelper devscripts autoconf automake libtool pkg-config bison flex libgtk2.0-dev libgtk-3-dev dh-python ladspa-sdk libasound2-dev libjack-dev libbluetooth-dev libcairo2-dev libgl-dev libglew-dev libgsl-dev libmagick++-dev libavifile-0.7-dev libdc1394-dev libfftw3-dev libfluidsynth-dev libftgl-dev libgsm1-dev libjpeg-dev libmp3lame-dev libmpeg3-dev libquicktime-dev libraw1394-dev libsmpeg-dev libspeex-dev libstk-dev libtiff5-dev libv4l-dev libdv4-dev libiec61883-dev libxv-dev libxxf86vm-dev libvorbis-dev zlib1g-dev rsync libgconf2-dev libnss3-dev libxtst-dev libxss-dev | |
pip install markdown | |
- name: version | |
run: | | |
echo "version=$(git describe --tags)" >> $GITHUB_ENV | |
- name: make | |
run: | | |
echo version: $version | |
cd debuild | |
make debchange | |
make deb-us | |
- name: check | |
run: echo handled by debuild | |
- name: upload | |
uses: actions/upload-artifact@v3 | |
with: | |
name: purr-data-${{ env.version }}-ubuntu-x86_64 | |
path: debuild/purr-data*.deb | |
retention-days: 2 | |
windows-build: | |
runs-on: windows-2022 | |
defaults: | |
run: | |
shell: msys2 {0} | |
env: | |
CC: gcc | |
CXX: g++ | |
steps: | |
- uses: msys2/setup-msys2@v2 | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
fetch-depth: 0 | |
- name: install innosetup | |
run: | | |
wget https://jrsoftware.org/download.php/is.exe -O innosetup.exe | |
./innosetup.exe //SILENT //CURRENTUSER | |
- name: install dependencies | |
run: | | |
pacman --noconfirm --disable-download-timeout -S autoconf automake git libtool make mingw-w64-x86_64-dlfcn mingw-w64-x86_64-fftw mingw-w64-x86_64-fluidsynth mingw-w64-x86_64-SDL2 mingw-w64-x86_64-ftgl mingw-w64-x86_64-fribidi mingw-w64-x86_64-ladspa-sdk mingw-w64-x86_64-lame mingw-w64-x86_64-libsndfile mingw-w64-x86_64-libvorbis mingw-w64-x86_64-lua mingw-w64-x86_64-toolchain mingw-w64-x86_64-libjpeg-turbo mingw-w64-x86_64-speex mingw-w64-x86_64-python mingw-w64-x86_64-python-markdown rsync unzip wget | |
- name: version | |
run: | | |
echo "version=$(git describe --tags)" >> $GITHUB_ENV | |
- name: make | |
run: | | |
echo version: $version | |
echo UNAME: `uname -s` | |
make V=0 | |
- name: check | |
run: make check | |
- name: upload | |
uses: actions/upload-artifact@v3 | |
with: | |
name: purr-data-${{ env.version }}-mingw-x86_64 | |
path: Purr-Data-*.exe | |
retention-days: 2 | |
release: | |
if: startsWith(github.ref, 'refs/tags/') | |
runs-on: ubuntu-latest | |
needs: [macos-build, ubuntu-build, windows-build] | |
steps: | |
- uses: actions/download-artifact@v3 | |
- name: ziptie | |
run: | | |
mkdir dist | |
for x in purr-data-*; do (cd $x && zip -r ../dist/$x.zip *); done | |
- name: release | |
uses: softprops/action-gh-release@v1 | |
with: | |
prerelease: true | |
draft: true | |
files: dist/*.zip |