Skip to content

Commit bad26bb

Browse files
committed
build graphviz 13.x
1 parent 651013f commit bad26bb

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
name: 'Test & Release'
23
on: [ push, pull_request ]
34

@@ -50,6 +51,17 @@ jobs:
5051
python --version
5152
ip link show
5253
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
64+
5365
- name: Configure environment -- Windows
5466
if: ${{ runner.os == 'Windows' }}
5567
run: |
@@ -88,6 +100,18 @@ jobs:
88100
python -m pip install --upgrade pip packaging setuptools wheel twine
89101
python setup.py sdist bdist_wheel
90102
103+
- name: Build Graphviz 13.x
104+
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
114+
91115
- name: Get release version
92116
run: |
93117
cd pycyphal

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
version: 2
44

55
build:
6-
os: ubuntu-22.04
6+
os: ubuntu-lts-latest
77
tools:
88
python: "3.10"
99
apt_packages:

0 commit comments

Comments
 (0)