This version includes an upstream patch (dlang/dmd#10889) not present
in DMD 2.091.0 but which will be included in DMD 2.091.1
This patch is necessary to resolve a regression present in DMD 2.091.0
which would make the snap package unusable, for information: https://issues.dlang.org/show_bug.cgi?id=20662
0ff5faa...
by
Ernesto Castellotti <email address hidden>
Preinstall snap core
This is required for some snapd changes
21971a6...
by
Ernesto Castellotti <email address hidden>
This patch removes the code not really necessary to
successfully complete the current CI/CD tests, the main
purpose of this is to reduce the complexity before
implementing the tests for other distributions too.
This is the first step in creating a CI/CD infrastructure
for DMD's Snap packages.
The CI/CD tests will be performed through
Github Actions (https://github.com/features/actions), the
executive scripts will be placed in .github/workflows while
the respective Dockerfiles in .github/docker
We need to create a workflow for each "family" of distributions,
for example there will have to be an ubuntu.yml workflow that
will handle every version of Ubuntu we intend to support.
While the Dockerfiles must be different for each version, they
will be placed in subdirectories of .github/docker to separate
the distribution families, for example there must be the
file .github/docker/ubuntu/Xenial.Dockerfile
Unfortunately since snapd depends on systemd you need to install it,
to make systemd work in Docker I replaced /sbin/udevadm with /bin/true
because otherwise it would have given problems inside the container,
this should not be a problem since udev is not needed to test DMD.
Currently the tests will only interest the DMD build phase, I have
only inserted a small test to verify if at least the builded
Snap package is able to install and perform a simple operation
inside Ubuntu Xenial (dmd --version).
The next works will concern the expansion of the runtime tests and
increasing the number of supported distributions with time.