Skip to content

Commit

Permalink
use apt on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ledyba committed Dec 31, 2022
1 parent 028a0e2 commit 6667d1c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,16 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Setup ImageMagick
- name: Setup ImageMagick (mac OS)
run: |
# You need brew (mac OS or Linux)
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
# You need brew on mac OS
brew install imagemagick
if: matrix.os == 'macOS-latest'

- name: Setup ImageMagick (Ubuntu)
run: |
apt-get install --no-install-recommends imagemagick
if: matrix.os == 'ubuntu-latest'

- name: Prepare
run: dev/install
Expand Down

0 comments on commit 6667d1c

Please sign in to comment.