Skip to content

Improve is_file and posix_searchpath #164

Improve is_file and posix_searchpath

Improve is_file and posix_searchpath #164

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
- name: test
run: |
pushd examples
./image2ascii
./generate_loop_macros
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
- name: test
run: |
pushd examples
./image2ascii
./generate_loop_macros
popd