Skip to content

Workflow file for this run

name: Build then test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build-on-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get install -y gcc g++ clang libpng-dev libjpeg-dev libmagick++-dev
sudo apt-get install -y libgraphicsmagick++-dev libfftw3-dev zlib1g-dev libheif-dev
- name: build
run: |
pushd examples
make clean
make mlinux
popd
build-on-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
brew install libheif libpng fftw libjpeg gcc zlib imagemagick automake openexr llvm
- name: build
run: |
pushd examples
make clean
make mmacos
popd