* Use newly published action: `diddlesnaps/snapcraft-multiarch-action`
* Upload every push to master to the Snap Store's Edge channel
* Upload every tagged prerelease to the Snap Store's Beta channel
(including release candidates which are also handled below)
* Upload every tagged stable or release candidate release to the Snap
Store's Candidate Channel
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
* Add build and release workflow to build a Docker container and WSL rootfs tarball.
* Upload the Docker container to Docker Hub.
* Upload the WSL rootfs tarball to GitHub Releases.
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
* Use `snapcraft.yaml` as the source-of-truth for APT dependencies to reduce burden of maintianing multiple lists
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
* Add `snap/` directory containing
- `snapcraft.yaml` the build script
- `local/usr/lib/python3.6/sitecustomize.py` a snap-specific override
file to get python to recognise the snap's python paths
* Add `*.snap` to gitignore so built snap packages aren't accidentally
committed to the repository.
OpenCV 3.4.6 requires libjasper which is not supported on Ubuntu 18.04+
* Update OpenCV download URL to version 4.5.0
* Drop opencv_contrib target and external project (the Sift algorithm is
now in OpenCV upstream so we don't need the contrib anymore)
* Update OpenSfM build definition to reference new location for OpenCV
compiled binaries
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
The wrapper scripts incorrectly unwrapped arguments with spaces making
them appear to be multiple individual arguments instead of one quoted
argument.
ref: https://github.com/OpenDroneMap/ODM/pull/1170#issuecomment-716607868
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>