On Tue, 06 Jun 2017 02:37:54 +0700 Tim Rühsen <tim.rueh...@gmx.de> wrote:
> I guess Christian meant to skip the appropriate tests if MHD is not 
> installed/ 
> available. We should definitely get rid of our server code in libwget and
> focus on client functionality. Kick it out once MHD code works :-) 

Understood.
  
> But of course we want to run as many tests as possible with MinGW as well...  
> maybe you provide a script (e.g. in contrib/) that downloads/builds/installs  
> MHD. Add that script to our CI runner YAML file(s) and we can test on MinGW 
> as  
> well. Let me know which packages you need for the docker images. 

What I've done so far with .gitlab-ci.yml is add the following lines:

 MinGW64:
+  before_script:
+  - dnf -y install wget
+  - wget http://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.55.tar.gz
+  - tar zxf libmicrohttpd-0.9.55.tar.gz && cd libmicrohttpd-0.9.55/
+  - mingw64-configure --prefix=/usr/x86_64-w64-mingw32/sys-root/mingw/
+  - mingw64-make -j$(nproc)
+  - mingw64-make -j$(nproc) LOG_COMPILER=wine install
+  - cd -

Should I move it to contrib/, or anything else? Because there is no such thing
like mingw-libmicrohttpd available on the docker images.

Regards,
Didik Setiawan


Reply via email to