kde-extraapps/appveyor.yml
Ivailo Monev e1e0882b40 generic: faster installation in AppVeyor environment
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-27 08:18:13 +03:00

55 lines
1.5 KiB
YAML

version: 4.22.0-{branch}-{build}
image: Ubuntu2004
clone_depth: 1
cache:
- /home/appveyor/.ccache
build_script:
- sh: >-
git log > /tmp/gitlog.txt
grep -q '\[ci reset\]' /tmp/gitlog.txt && rm -rf /home/appveyor/.ccache
sudo apt-get update -qq
sudo apt-get install -qq wget
sudo wget https://raw.githubusercontent.com/fluxer/katana-ubuntu/master/katana.list -O /etc/apt/sources.list.d/katana.list
sudo apt-get update -qq
sudo apt-get install -qq cmake katie-dev katanalibs \
katana-workspace xorg-dev zlib1g-dev libacl1-dev libattr1-dev \
libarchive-dev libasound2-dev libatasmart-dev libavcodec-dev \
libavformat-dev libavutil-dev libblkid-dev libdjvulibre-dev \
libepub-dev libexiv2-dev libfreetype6-dev libssl-dev \
libgettextpo-dev libgmp-dev libmms-dev libparted-dev \
libqalculate-dev libspectre-dev libspeechd-dev libswscale-dev \
libtag1-dev uuid-dev libudev-dev libvncserver-dev freerdp2-dev \
libffmpegthumbnailer-dev libbz2-dev libtorrent-rasterbar-dev \
libpoppler-cpp-dev xsltproc libdbusmenu-katie \
ariya-icons dbus-x11 ccache
export PATH="/usr/lib/ccache/:$PATH"
mkdir build
cd build
cmake ../ -Wno-dev -DENABLE_TESTING=ON
make -j $(nproc || echo 1)
sudo make install/strip/fast
test_script:
- sh: >-
Xvfb :123 &
export DISPLAY=:123
eval $(dbus-launch --sh-syntax)
cd build
find -name 'kde4_test_*.sh' -exec sh '{}' \;