Skip to content

fix(build): include <Availability.h> on macOS during build. Fixes #51 #32

fix(build): include <Availability.h> on macOS during build. Fixes #51

fix(build): include <Availability.h> on macOS during build. Fixes #51 #32

name: Build and test imgcat
on: [push, pull_request]
jobs:
test:
name: Build and test imgcat
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-18.04
- ubuntu-20.04
- ubuntu-22.04
- macos-10.15
- macos-11
- macos-12
steps:
- name: Checkout imgcat
uses: actions/checkout@v4
with:
submodules: true
- name: Install realpath
if: ${{ startsWith(matrix.os, 'macos') }}
run: brew install coreutils
- name: Build
run: make
- name: Test
run: make test