Skip to content

Commit

Permalink
build gl2ps
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuetzel committed Nov 12, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 0f4e0a6 commit 9d36f37
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/make.yaml
Original file line number Diff line number Diff line change
@@ -219,6 +219,11 @@ jobs:
# qt6-qtbase-dev
# qt6-qt5compat-dev
# qt6-qttools-dev
# The following packages are only needed to buid gl2ps
# cmake
# wget
# libpng
# sudo
packages: >
build-base
autoconf
@@ -272,6 +277,10 @@ jobs:
gzip
tar
zip
cmake
wget
libpng
sudo
- name: prepare ccache
# create key with human readable timestamp
@@ -298,6 +307,27 @@ jobs:
echo "compression = true" >> ~/.ccache/ccache.conf
ccache -s
- name: build gl2ps
# There is no gl2ps package distributed by Alpine Linux for some reason.
run: |
mkdir -p gl2ps && cd gl2ps
printf "::group::\033[0;32m==>\033[0m Download tarball\n"
wget -O gl2ps-1.4.2.tgz https://geuz.org/gl2ps/src/gl2ps-1.4.2.tgz
echo "::endgroup::"
printf "::group::\033[0;32m==>\033[0m Unpack tarball\n"
tar zxvf gl2ps-1.4.2.tgz
echo "::endgroup::"
printf "::group::\033[0;32m==>\033[0m Configure\n"
mkdir -p build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ../gl2ps-1.4.2
echo "::endgroup::"
printf "::group::\033[0;32m==>\033[0m Build\n"
cmake --build .
echo "::endgroup::"
printf "::group::\033[0;32m==>\033[0m Install\n"
sudo cmake --install .
echo "::endgroup::"
- name: bootstrap
run: GNULIB_URL=https://github.com/coreutils/gnulib.git ./bootstrap

0 comments on commit 9d36f37

Please sign in to comment.