github requires sudo
Some checks failed
Generic zig build / build (push) Failing after 14s

This commit is contained in:
Emil Lerch 2024-04-30 22:16:19 -07:00
parent d4d0200473
commit 4998ac5803
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -16,12 +16,12 @@ jobs:
- 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: | run: |
apt-get update sudo apt-get update
apt-get install fonts-hack # imagemagick (container has imagemagick, but version 6) sudo 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 curl -LOs https://github.com/ImageMagick/ImageMagick/archive/refs/tags/7.1.1-31.tar.gz
tar xzf 7.1.1-31.tar.gz tar xzf 7.1.1-31.tar.gz
cd ImageMagick-7.1.1-31/ cd ImageMagick-7.1.1-31/
./configure && make install && ldconfig /usr/local/lib ./configure && sudo make install && sudo ldconfig /usr/local/lib
cd .. cd ..
- name: Build project - name: Build project
run: zig build --summary all run: zig build --summary all