Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
VaeterchenFrost committed Dec 18, 2024
1 parent fe09d70 commit 6dd2a74
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,21 @@ jobs:
- name: Get Graphviz
working-directory: ..
run: |
wget -nv https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/$(env.graphviz-version)/graphviz-$(env.graphviz-version).tar.gz
graphviz_12_sha256="242bc18942eebda6db4039f108f387ec97856fc91ba47f21e89341c34b554df8 graphviz-$(env.graphviz-version).tar.gz"
if [[ "$(sha256sum graphviz-$(env.graphviz-version).tar.gz)" != "$(graphviz_12_sha256" ]]; then
wget -nv https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/${{ env.graphviz-version }}/graphviz-${{ env.graphviz-version }}.tar.gz
graphviz_12_sha256="242bc18942eebda6db4039f108f387ec97856fc91ba47f21e89341c34b554df8 graphviz-${{ env.graphviz-version }}.tar.gz"
if [[ "$(sha256sum graphviz-${{ env.graphviz-version }}.tar.gz)" != "$(graphviz_12_sha256" ]]; then
echo "The file is corrupted, calculated_hash: $calculated_hash"
exit 1
fi
# extract
tar -xzf graphviz-$(env.graphviz-version).tar.gz
tar -xzf graphviz-${{ env.graphviz-version }}.tar.gz
# dev dependencies
sudo apt-get install -y build-essential pkg-config libgraphviz-dev libperl-dev libsodium-dev libargon2-dev libgts-dev
- name: Install Graphviz
working-directory: ..
run: |
cd graphviz-$(env.graphviz-version)
cd graphviz-${{ env.graphviz-version }}
./configure --prefix=$PWD/out --with-gts
make --quiet
make install --quiet
Expand Down

0 comments on commit 6dd2a74

Please sign in to comment.