#!/bin/bash
set -e

buildAndTest() {
    local quantum=$1

    dotnet build tests/Magick.NET.Tests/Magick.NET.Tests.csproj -f netcoreapp2.0 -c Test$quantum
    dotnet test tests/Magick.NET.Tests/Magick.NET.Tests.csproj -f netcoreapp2.0 -c Test$quantum
}

cd src/Magick.Native
./install.sh

fc-list : family

cd ../../
buildAndTest "Q8"
buildAndTest "Q16"
buildAndTest "Q16-HDRI"

#!/bin/bash
set -e

buildAndTest() {
    local quantum=$1

    dotnet build tests/Magick.NET.Tests/Magick.NET.Tests.csproj -f netcoreapp2.0 -c Test$quantum
    dotnet test tests/Magick.NET.Tests/Magick.NET.Tests.csproj -f netcoreapp2.0 -c Test$quantum
}

cd src/Magick.Native
./install.sh

brew install fontconfig
fc-list : family

cd ../../
buildAndTest "Q8"
buildAndTest "Q16"
buildAndTest "Q16-HDRI"

Install fontconfig on the macOS build.
Install fontconfig on the macOS build.
