Skip to content

Build and run unittests with mingw in Github actions

Arne Schwabe openvpn-devel 1 version In review

Get series with b4
b4 am [email protected]...

Versions newest first

  1. v1 Latest4 of 5 patches 5 repliesIn review

4 of 5 patches are in this archive. The cover letter announces 5.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Conditionally add subdir-objects option to automakeconfigure.ac+14 -12 replies
3/5Do not run check_engine test when crosscompilingtests/unit_tests/engine-key/Makefile.am+2 -01 reply
4/5Add missing stdint.h includes in unit tests filestests/unit_tests/example_test/test.c tests/unit_tests/example_test/test2.c tests/unit_tests/openvpn/mock_msg.c+3 -02 replies
5/5Add building and running mingw unittests to github actions.github/workflows/build.yaml+108 -21 reply

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchArne SchwabeSelva Nair
SeriesA-b A-b
1/5
3/5
4/5A-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Openvpn-devel] [PATCH 0/5] Build and run unittests with mingw in Github actions

This patch also includes the previous patches from Sevla to make the dependency from these patches clear. Patch 0/3 can be squashed into 2/5 as it is only a minor fixup of that patch.

The Github actions could probably made a little bit nicer, eg by static compiling and requiring copying less dlls but since these binaries are not meant to be distributed, I don't think it is an issue.

Arne Schwabe (3):
Do not run check_engine test when crosscompiling Add missing stdint.h includes in unit tests files Add building unit tests with mingw to github actions

Selva Nair (2):
Conditionally add subdir-objects option to automake Build unit tests in mingw Windows build

 .github/workflows/build.yaml              | 110 +++++++++++++++++++++-
 configure.ac                              |  17 +++-
 tests/Makefile.am                         |   3 +
 tests/unit_tests/engine-key/Makefile.am   |   2 +
 tests/unit_tests/example_test/Makefile.am |   2 +
 tests/unit_tests/example_test/test.c      |   1 +
 tests/unit_tests/example_test/test2.c     |   1 +
 tests/unit_tests/openvpn/Makefile.am      |  28 +++++-
 tests/unit_tests/openvpn/mock_msg.c       |   1 +
 9 files changed, 157 insertions(+), 8 deletions(-)
Signature · 1 line
2.37.1 (Apple Git-137.1)