Add Windows Autobuild CI (#244)

* Add Windows x64 CI

* Add missing dependency

* Fix rapidjson build

* Add Windows build to Travis CI

Add Windows x86 build to GitHub Actions

* Fix mingw32-make not found

* Fix subsystem on Actions

Fix install prefix on Travis CI.

* Use MINGW_PREFIX instead of /usr

* Clean up scripts

Add Windows x86 build to Travis CI.
This commit is contained in:
Tindy X
2020-09-07 20:08:19 +08:00
committed by GitHub
parent 10c3d2f35e
commit abe03cebeb
4 changed files with 154 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ apk add mbedtls-dev mbedtls-static zlib-dev rapidjson-dev libevent-dev libevent-
git clone https://github.com/curl/curl --depth=1
cd curl
cmake -DCMAKE_USE_MBEDTLS=ON -DHTTP_ONLY=ON -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_USE_LIBSSH2=OFF . > /dev/null
cmake -DCMAKE_USE_MBEDTLS=ON -DHTTP_ONLY=ON -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_USE_LIBSSH2=OFF -DBUILD_CURL_EXE=OFF . > /dev/null
make install -j2 > /dev/null
cd ..