MSYS2 CI: use pacboy and select ucrt64 #30
Workflow file for this run
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: Run Tests, Compile Examples | |
on: [push, pull_request] | |
jobs: | |
examples: | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: install Ubuntu packages | |
if: startsWith(matrix.os, 'ubuntu') | |
run: | | |
PACKAGES=( | |
libfftw3-dev | |
libjack-jackd2-dev | |
liboctave-dev | |
libsndfile1-dev | |
portaudio19-dev | |
) | |
sudo apt-get update | |
sudo apt-get install --no-install-recommends ${PACKAGES[@]} | |
- name: install macOS packages | |
if: startsWith(matrix.os, 'macos') | |
run: | | |
PACKAGES=( | |
fftw | |
jack | |
libsndfile | |
octave | |
portaudio | |
) | |
brew install ${PACKAGES[@]} | |
- name: checkout APF source code | |
uses: actions/checkout@v2 | |
- name: run unit tests | |
run: | | |
make -C unit_tests | |
- name: run performance tests | |
run: | | |
make -C performance_tests | |
- name: compile examples | |
run: | | |
make -C examples | |
- name: compile MEX files | |
run: | | |
make -C examples mex | |
- name: compile MEX files (double precision) | |
run: | | |
make -C examples mex-double |