Tests dependencies resolution of snapcraft
Snaps a simple C++ file that loads libpng and measures the dimensions of a png image with:
png-dimensions-20 <png-image>
stage-packages
is purposely missing to force snapcraft to resolve missing dependencies.- Uncommenting
override-build
is a good test of dependency resolution.- It installs
usrmerge
and creates symlinks to some libraries, like libpng.
- It installs
- Uncommenting
stage-packages
should make thepng-dimensions
program function.
runner.sh
builds and runs the snaps on core18 and core20 for easy debugging.