* Swap `tag_match` for `tag-match-latest` (`tag_match` was incorrect `_`
vs `-` anyway)
* Add master branch to builds - this should build master on any merge or
commit and release the Docker image to an `edge` tag. (See [`tag-edge:
true`](https://github.com/crazy-max/ghaction-docker-meta/#inputs))
* Add `upload-artifact` to save the WSL rootfs when building a branch
(master).
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
The `mv` in `SuperBuild` for `lasmerge` will copy `lasmerge` to a file
called `SuperBuild/install/bin` **not**
`SuperBuild/install/bin/lasmerge` when the `bin` folder has not been
created. This is the case when building with 2 jobs (`-j2`) so builds
fail when moving onto OpenCV which requires that `bin` be a directory.
* Change `mv` to more reliable `install` command for `lasmerge`.
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
Snapcraft complains about missing `libwebpdemux2` when building. This
commit adds it as a runtime dependency to fix the warning.
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
It seems that snapcraft-preload[1] installs to a different location when
building with core20 vs core18. This meant the snap builds fail with
being unable to find the executable. This commit changes the reference
to the preload script in the `snapcraft.yaml` to the core20-built
location.
[1] https://github.com/sergiusens/snapcraft-preload
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
* Add details on how to import the `rootfs.tar.gz` file into WSL
* Add instructions to update the WSL rootfs
* Add uninstallation instructions
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
Snap packages marked as `grade: devel` are not permitted to be released
to the `candidate` or `stable` channels in the Snap Store. This commit
changes the grade to `stable` now that everything seems to be working
well. Snaps build from this commit forward will be releasable to the
`candidate` and/or `stable` channels in the Snap Store :-)
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
* Adjust `PYTHONPATH` in Dockerfiles to newer `python3.8`
* Switch to 20.04 base images in Dockerfiles
* Switch snapcraft to use `base20`
* Update APT dependency versions in `snapcraft.yaml` to match those
available in Ubuntu 20.04
* Bump `pyproj` from version `2.2.2` to `3.0.0`
* Bump `numpy` from version `1.19.2` to `1.19.4`
* Add missing exclusions to `snapcraft.yaml` to reduce the size of snap
packages
* Add missing exclusions to Dockerfiles to reduce the size of container
images
* Update `configure.sh` to account for Ubuntu 20.04 instead of 18.04
* Nit: make `configure.sh` executable directly with `./configure.sh`
instead of `bash configure.sh`
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
My previous evolution of the Dockerfiles grouped the `ENV` entries into
a single definition to reduce the number of intermediate Docker image
layers. Unfortunately I didn't account for the duplicate `PYTHONPATH`
definition so only the second was being applied correctly. This commit
fixes that.
* Combine multiple `ENV PYTHONPATH=` to a single definition.
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>