Skip to content

Commit

Permalink
Build with poppler in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzeller committed Jan 13, 2024
1 parent dad7fcc commit d03f3ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/conf/AppImageBuilder.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ AppDir:
- libswscale5
- libdeflate0
- libsixel1
#- libpoppler-glib8
#- librsvg2-2
- libcairo-gobject2

files:
include:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,14 @@ jobs:
sudo apt install librsvg2-dev libcairo-dev
sudo apt install libavcodec-dev libavformat-dev libavdevice-dev
sudo apt install libopenslide-dev
sudo apt install libpoppler-glib-dev
sudo apt install pandoc
- name: Build timg with all options enabled
run: |
mkdir build
cd build
cmake .. -DWITH_VIDEO_DECODING=On -DWITH_VIDEO_DEVICE=On -DWITH_OPENSLIDE_SUPPORT=On -DWITH_STB_IMAGE=On -DWITH_RSVG=On -DWITH_LIBSIXEL=On
cmake .. -DWITH_VIDEO_DECODING=On -DWITH_VIDEO_DEVICE=On -DWITH_OPENSLIDE_SUPPORT=On -DWITH_STB_IMAGE=On -DWITH_RSVG=On -DWITH_POPPLER=On -DWITH_LIBSIXEL=On
make -k
- name: Print timg Version string
Expand Down Expand Up @@ -143,6 +144,7 @@ jobs:
sudo apt install libturbojpeg-dev libexif-dev
sudo apt install librsvg2-dev libcairo-dev
sudo apt install libsixel-dev
sudo apt install libpoppler-glib-dev
sudo apt install pandoc
- name: Set Version
Expand All @@ -155,7 +157,8 @@ jobs:
# also check apt to include in .github/conf/AppImageBuilder.yml
./.github/bin/prepare-app-image.sh \
-DWITH_GRAPHICSMAGICK=Off \
-DWITH_RSVG=On \
-DWITH_RSVG=Off \
-DWITH_POPPLER=Off \
-DWITH_VIDEO_DECODING=Off \
-DWITH_VIDEO_DEVICE=Off \
-DWITH_OPENSLIDE_SUPPORT=Off \
Expand Down

0 comments on commit d03f3ca

Please sign in to comment.