From d4d0200473c2970f3bc949dc3a058fc6c4f9f037 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Tue, 30 Apr 2024 22:14:37 -0700 Subject: [PATCH] install imagemagick 7 from source (pain!) --- .github/workflows/zig-build.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/zig-build.yaml b/.github/workflows/zig-build.yaml index 2bbecd1..d454447 100644 --- a/.github/workflows/zig-build.yaml +++ b/.github/workflows/zig-build.yaml @@ -15,7 +15,14 @@ jobs: version: 0.12.0 - uses: elerch/zig-action-cache@v1.1.6 - name: Install system dependencies - run: apt-get update && apt-get install fonts-hack imagemagick + run: | + apt-get update + apt-get install fonts-hack # imagemagick (container has imagemagick, but version 6) + curl -LOs https://github.com/ImageMagick/ImageMagick/archive/refs/tags/7.1.1-31.tar.gz + tar xzf 7.1.1-31.tar.gz + cd ImageMagick-7.1.1-31/ + ./configure && make install && ldconfig /usr/local/lib + cd .. - name: Build project run: zig build --summary all - name: Run tests