Commit Graph

19 Commits

Author SHA1 Message Date
Jon Turney 24b029ba8e
Cygwin: CI: Also deploy documentation for release tags 2023-09-03 14:57:53 +01:00
Jon Turney 352f051cf9
Cygwin: CI: Add documentation preview deploy step 2023-09-03 14:57:52 +01:00
Jon Turney e94d3e168b
Cygwin: CI: Simplify and reduce the number of steps in cross-build job 2023-09-03 14:57:36 +01:00
Jon Turney 1db6fb03e7
Cygwin: CI: Take note of the testsuite status 2023-09-02 16:55:42 +01:00
Jon Turney 57e3e3d3ab
Cygwin: CI: don't run on both main and master refs 2023-08-02 17:25:50 +01:00
Jon Turney 25d65d6ec0
Cygwin: CI: Upgrade checkout actions to avoid deprecation warning
Also: workaround a problem with actions/checkout's post-run step using
Cygwin git but being incompatible with it. (This would be better solved
by cygwin-install-action having a post-run step to unwind it's PATH
changes, but that's not currently possible)

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
2023-07-22 17:16:46 +01:00
Jon Turney 2133d91175
Cygwin: CI: Retain test logs as a build artifact
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
2023-07-22 17:16:44 +01:00
Jon Turney a1ee8a0f05
Cygwin: testsuite: Drop using DejaGnu to run tests
A more sophisticated (and modern) test harness would probably be useful,
but switching to Automake's built-in test harness gets us parallel test
execution, colourization of failures, simplifies matters, seems adequate
for the current testuite, and means we don't need to write any icky Tcl.

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
2023-07-22 17:16:37 +01:00
Jon Turney fee0c04e30
Cygwin: testsuite: Drop Adminstrator privileges while running tests
Test access05 and symlink03 expect operations to fail which succeed when
we have Adminstrator privileges.

There's perhaps a bit of incoherency here: some XFAILed tests expect to
run as root (so maybe we need the ability to selectively cygdrop?).

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
2023-07-14 14:02:48 +01:00
Jon Turney e8c1a579cd
Cygwin: testsuite: Setup test prereqs in 'installation' the tests run in
Do some setup in the Cygwin 'installation' at testsuite/testinst/:

* Ensure /tmp exists

* Use BusyBox to provide executables needed by tests which use system()
(sh, sleep, ls)

This enables tests which use system(), or require /tmp to exist to pass.

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
2023-07-14 14:02:37 +01:00
Jon Turney 1387ea9f98
Cygwin: dumper: also link with libzstd, as libbfd may require it
Also allow that linkage to be dynamic, as libzstd-devel doesn't
currently provide a static library.
2023-02-14 14:37:32 +00:00
Jon Turney 6072dcfc34
Cygwin: CI: Run cygserver for tests
Note that cygserver must be run using the same cygwin1.DLL as test
programs, as they communicate over a named pipe whose name contains the
'installation key' (which is a hash of the cygwin1.dll's path).

We run cygserver via 'cmd' to avoid the special code which handles a
cygwin parent process starting a cygwin child process, which assumes the
same version of cygwin in both.
2023-01-13 17:03:59 +00:00
Jon Turney b5d4245d5f
Cygwin: CI: Fix thinko of 'ncores' for 'nproc' 2022-12-23 14:02:06 +00:00
Jon Turney 1a367220ad
Cygwin: CI: Drop i686 builds
i686 builds just fail with 'Invalid target processor "i686"' since
commit fcb32b7.
2022-05-16 13:36:51 +01:00
Jon Turney 544637b21b
Cygwin: CI: Make sure pdflatex TeX format exists
On Fedora, make sure the needed pdflatex TeX format exists after
prerequisite installation, to avoid the output of mktexfmt during build.
2022-02-01 16:11:32 +00:00
Jon Turney 54b6c0e81f
Cygwin: Update CI configuration for python version change
Update the python version for python-lxml and python-ply packages.

'dblate' now depends on python39, so that will be installed and made the
default by alternatives, so make sure that these python packages are
also available for that python version.
2021-12-30 12:52:55 +00:00
Jon Turney 287cb02f69
Cygwin: Extend GitHub workflow to also build on Windows 2021-11-16 17:59:58 +00:00
Jon Turney 2d34164402
Cygwin: CI configuration update
Install autoconf and automake, and run winsup/autogen.sh, and don't have
it silently ignore failures.

On AppVeyor:
- use latest VM image, to reduce time spent installing updates.
- run the testsuite, but ignore the result, as some tests don't work
correctly.
- hardcode the python-lxml and python-ply packages to install, so we get
ones for the right python.
- install texlive collections now needed to build documentation.

On github:
- Use a copr for cocom, since RPMSphere's package updates don't track
fedora:latest very efficently.
2021-04-30 14:22:07 +01:00
Jon Turney 5b67246301
Cygwin: Add github action to cross-build on Fedora
This helps avoid unpleasant surprises when we come to actually make a
release (which are cross-built in this manner)
2020-08-28 22:51:58 +01:00