install imagemagick 7 from source (pain!)
Some checks failed
Generic zig build / build (push) Has been cancelled

This commit is contained in:
Emil Lerch 2024-04-30 22:14:37 -07:00
parent 84cbdd7f2f
commit d4d0200473
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -15,7 +15,14 @@ jobs:
version: 0.12.0 version: 0.12.0
- uses: elerch/zig-action-cache@v1.1.6 - uses: elerch/zig-action-cache@v1.1.6
- name: Install system dependencies - 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 - name: Build project
run: zig build --summary all run: zig build --summary all
- name: Run tests - name: Run tests