Skip to content

Commit e32295d

Browse files
committed
install deb instead of building from source
1 parent bad26bb commit e32295d

File tree

1 file changed

+6
-20
lines changed

1 file changed

+6
-20
lines changed

.github/workflows/test-and-release.yml

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,9 @@ jobs:
5151
python --version
5252
ip link show
5353
54-
# Build Graphviz 13.x
55-
sudo apt-get update
56-
sudo apt-get install -y wget build-essential libgd-dev libpango1.0-dev libsodium-dev libargon2-dev
57-
wget https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/13.1.0/graphviz-13.1.0.tar.gz
58-
tar xzf graphviz-13.1.0.tar.gz
59-
cd graphviz-13.1.0
60-
./configure --disable-perl --disable-python --disable-go --disable-java --disable-lua --disable-tcl
61-
make -j$(nproc)
62-
sudo make install
63-
cd ../ && sudo rm -rf graphviz-13.1.0
54+
# Install Graphviz 13.x
55+
wget https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/13.1.0/ubuntu_24.04_graphviz-13.1.0-cmake.deb
56+
sudo apt install ./ubuntu_24.04_graphviz-13.1.0-cmake.deb
6457
6558
- name: Configure environment -- Windows
6659
if: ${{ runner.os == 'Windows' }}
@@ -100,17 +93,10 @@ jobs:
10093
python -m pip install --upgrade pip packaging setuptools wheel twine
10194
python setup.py sdist bdist_wheel
10295
103-
- name: Build Graphviz 13.x
96+
- name: Install Graphviz 13.x
10497
run: |
105-
sudo apt-get update
106-
sudo apt-get install -y wget build-essential libgd-dev libpango1.0-dev libsodium-dev libargon2-dev
107-
wget https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/13.1.0/graphviz-13.1.0.tar.gz
108-
tar xzf graphviz-13.1.0.tar.gz
109-
cd graphviz-13.1.0
110-
./configure --disable-perl --disable-python --disable-go --disable-java --disable-lua --disable-tcl
111-
make -j$(nproc)
112-
sudo make install
113-
cd ../ && sudo rm -rf graphviz-13.1.0
98+
wget https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/13.1.0/ubuntu_24.04_graphviz-13.1.0-cmake.deb
99+
sudo apt install ./ubuntu_24.04_graphviz-13.1.0-cmake.deb
114100
115101
- name: Get release version
116102
run: |

0 commit comments

Comments
 (0)