Skip to content

Commit 572cb5b

Browse files
committed
create install-dep-gd action, drop GD from main-PDL build
1 parent c3e19a2 commit 572cb5b

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Install GD
2+
runs:
3+
using: "composite"
4+
steps:
5+
- name: Install GD (via apt-get)
6+
shell: bash
7+
run: |
8+
if ${{ toJSON( runner.os == 'Linux' ) }}; then
9+
echo "::group::Install GD (via apt-get)"
10+
sudo apt-get -y update && sudo apt-get install --no-install-recommends -y libgd-dev
11+
echo "::endgroup::"
12+
fi
13+
- name: Install GD (via brew)
14+
shell: bash
15+
run: |
16+
if ${{ toJSON( runner.os == 'macOS' ) }}; then
17+
echo "::group::Install GD (via brew)"
18+
brew install gd
19+
echo "::endgroup::"
20+
fi

github-actions/install-dep-pdl-dep/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ runs:
88
if ${{ toJSON( runner.os == 'Linux' ) }}; then
99
echo "::group::Install main PDL deps (via apt-get)"
1010
sudo apt-get -y update && \
11-
sudo apt-get install --no-install-recommends -y build-essential libgd-dev libproj-dev proj-bin libcfitsio-dev libreadline-dev libvpx-dev libgsl0-dev netpbm libnetpbm10-dev
11+
sudo apt-get install --no-install-recommends -y build-essential libproj-dev proj-bin libcfitsio-dev libreadline-dev libvpx-dev libgsl0-dev netpbm libnetpbm10-dev
1212
echo "::endgroup::"
1313
elif ${{ toJSON( runner.os == 'macOS' ) }}; then
1414
echo "::group::Install main PDL deps (via brew)"

0 commit comments

Comments
 (0)