summaryrefslogtreecommitdiff
path: root/appveyor.yml
Commit message (Collapse)AuthorAgeFilesLines
* CI: use another glob syntax for matching files on AppveyorDan Fandrich2023-04-281-4/+4
| | | | | | The previous globbing syntax was not matching files recursively in directories, so try appending a /* to more closely match the examples at https://www.appveyor.com/docs/how-to/filtering-commits/
* CI: don't run CI jobs if only another CI was changedDan Fandrich2023-04-241-0/+9
| | | | | | | A few paths were missed in the last commit, as well as a job added since then. Followup-to 395b9175
* CI: don't run CI jobs if only another CI was changedDan Fandrich2023-03-111-0/+3
| | | | | | | | | | | Also skip builds on non-Windows platforms when only Windows build files have changed. This should reduce the number of useless builds and the associated waiting time and chance of spurious failures, freeing resources for new PRs. Closes #10742
* copyright: update all copyright lines and remove year rangesDaniel Stenberg2023-01-031-1/+1
| | | | | | | | | | | | - they are mostly pointless in all major jurisdictions - many big corporations and projects already don't use them - saves us from pointless churn - git keeps history for us - the year range is kept in COPYING checksrc is updated to allow non-year using copyright statements Closes #10205
* CI: report AppVeyor build status for each jobMarc Hoersken2022-10-201-24/+48
| | | | | | | | | Also give each job on AppVeyor CI a human-readable name. This aims to make job and therefore build failures more visible. Reviewed-by: Marcel Raad Closes #9769
* cmake: set HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID on WindowsViktor Szakats2022-10-141-8/+8
| | | | | | | | | | | | | | | | | | | | | | | `lib/config-win32.h` enables this configuration option unconditionally. Make it apply to CMake builds as well. While here, delete a broken check for `HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID` from `CMakeLists.txt`. This came with the initial commit [1], but did not include the actual verification code inside `CMake/CurlTests.c`, so it always failed. A later commit [2] added a second test, for non-Windows platforms. Enabling this flag causes test 1056 to fail with CMake builds, as they do with autotools builds. Let's apply the same solution and ignore the results here as well. [1] 4c5307b45655ba75ab066564afdc0c111a8b9291 [2] aec7c5a87c8482b6ddffa352d7d220698652262e Reviewed-by: Daniel Stenberg Assisted-by: Marcel Raad Closes #9726
* appveyor: enable websocketsDaniel Stenberg2022-09-091-4/+6
|
* CI/runtests.pl: add param for dedicated curl to talk to APIsMarc Hoersken2022-08-281-3/+7
| | | | | | | | This should make it possible to also report test failures if our freshly build curl binary is not fully functional. Reviewed-by: Daniel Stenberg Closes #9360
* CI/appveyor: disable TLS in msys2-native autotools buildsMarc Hoersken2022-08-251-3/+3
| | | | | | | | | | Schannel cannot be used from msys2-native Linux-emulated builds. Reviewed-by: Marcel Raad Reviewed-by: Daniel Stenberg Follow up to #9367 Closes #9370
* copyright: make repository REUSE compliantmax.mehl2022-06-131-0/+2
| | | | | | | | | | | Add licensing and copyright information for all files in this repository. This either happens in the file itself as a comment header or in the file `.reuse/dep5`. This commit also adds a Github workflow to check pull requests and adapts copyright.pl to the changes. Closes #8869
* appveyor: add Cygwin buildMarcel Raad2022-04-111-3/+11
| | | | Closes https://github.com/curl/curl/pull/8693
* appveyor: only add MSYS2 to PATH where requiredMarcel Raad2022-04-111-14/+13
| | | | Closes https://github.com/curl/curl/pull/8693
* projects: Update VC version names for VS2017, VS2022Jay Satiro2022-03-291-3/+3
| | | | | | | | | | | | | | | | | | | | | - Rename VC15 -> VC14.10, VC17 -> VC14.30. The projects directory that holds the pre-generated Visual Studio project files uses VC<ver> to indicate the MSVC version. At some point support for Visual Studio 2017 (Visual Studio version 15 which uses MSVC 14.10) was added as VC15. Visual Studio 2022 (Visual Studio version 17 which uses MSVC 14.30) project files were recently added and followed that same format using VC17. There is no such MSVC version (yet) as VC15 or VC17. For VS 2017 for example, the name we use is correct as either VS17, VS2017, VC14.10. I opted for the latter since we use VC for earlier versions (eg VC10, VC12, etc). Ref: https://github.com/curl/curl/pull/8438#issuecomment-1037070192 Closes https://github.com/curl/curl/pull/8447
* CI: Do not use buildconf. Instead, just use: autoreconf -fiPhilip H2022-03-151-1/+1
| | | | Closes #8596
* misc: update copyright year rangesDaniel Stenberg2022-03-051-1/+1
|
* appveyor: use VS 2017 image for the autotools buildsMarcel Raad2022-01-121-3/+3
| | | | | | | The newer images don't have all required MSYS2 packages. Fixes https://github.com/curl/curl/issues/8248 Closes https://github.com/curl/curl/pull/8265
* appveyor: update images from VS 2019 to 2022Marcel Raad2022-01-121-11/+11
| | | | Closes https://github.com/curl/curl/pull/8265
* cmake: private identifiers use CURL_ instead of CMAKE_ prefixDaniel Stenberg2021-11-231-2/+2
| | | | | | | | | Since the 'CMAKE_' prefix is reserved for cmake's own private use. Ref: https://cmake.org/cmake/help/latest/manual/cmake-variables.7.html Reported-by: Boris Rasin Fixes #7988 Closes #8044
* CI/runtests.pl: restore -u flag, but remove it from CI runsMarc Hoersken2021-10-311-1/+1
| | | | | | | | | | This makes it possible to use -u again for local testing, but removes the flag from CI config files and make targets. Reviewed-by: Daniel Stenberg Partially reverts #7841 Closes #7921
* CI: more use of test-ci make target and verbose outputMarc Hoersken2021-10-271-1/+1
| | | | | | | | | | | Replace test-nonflaky with test-ci and enable verbose output in all remaining CIs except Zuul which is customized a lot. Reviewed-by: Daniel Stenberg Reviewed-by: Jay Satiro Follow up to #7785 Closes #7832
* CI/makefiles: introduce dedicated test targetMarc Hoersken2021-10-081-3/+3
| | | | | | | | | | Make it easy to use the same set of test flags throughout all current and future CI builds. Reviewed-by: Jay Satiro Follow up to #7690 Closes #7785
* CI: align make and test flags in various config filesMarc Hoersken2021-09-271-3/+7
| | | | | | | | | | 1. Use Makefile target to run tests in autotools builds on AppVeyor. 2. Disable testing of SCP protocol on native Windows environments. 3. Remove redundant parameters -a -p from target test-nonflaky. 4. Don't use -vc parameter which is reserved for debugging. Replaces #7591 Closes #7690
* runtests: add option -u to error on server unexpectedly aliveMarc Hoersken2021-09-091-1/+1
| | | | | | | | | | | | | | | Let's try to actually handle the server unexpectedly alive case by first making them visible on CI builds as failures. This is needed to detect issues with killing of the test servers completely including nested process chains with multiple PIDs per test server (including bash and perl). On Windows/cygwin platforms this is especially helpful with debugging PID mixups due to cygwin using its own PID space. Reviewed-by: Daniel Stenberg Closes #7180
* ci: adapt to configure requiring an explicit TLS choiceDaniel Stenberg2021-04-221-4/+4
|
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* alt-svc: enable by defaultDaniel Stenberg2020-10-251-2/+2
| | | | | | | | Remove CURLALTSVC_IMMEDIATELY, which was never implemented/supported. alt-svc support in curl is no longer considered experimental Closes #5868
* CI/appveyor: remove (unused) runtests.pl -b optionDaniel Stenberg2020-10-251-1/+1
|
* CI/appveyor: disable test 571 in two cmake buildsDaniel Stenberg2020-10-241-2/+2
| | | | | | ... they're simply too flaky there. Closes #6119
* CI/tests: fix invocation of tests for CMake buildsSergei Nikulov2020-10-141-2/+10
| | | | | | | | | | | Update appveyor.yml to set env variable TFLAGS and run tests Remove curly braces due to CMake error (${TFLAGS} -> $TFLAGS) Move testdeps build to build step (per review comments) Reviewed-by: Marc Hörsken Closes #6066 Fixes #6052
* AppVeyor: switch 64-bit Schannel Debug CMake builds to UnicodeMarcel Raad2020-08-291-0/+12
| | | | | | | | The Schannel builds are the most useful to verify as they make the most use of the Windows API. Classic MinGW doesn't support Unicode at all, only MinGW-w64 and MSVC do. Closes https://github.com/curl/curl/pull/5843
* TLS naming: fix more Winssl and Darwinssl leftoversDaniel Stenberg2020-08-081-12/+12
| | | | | | | | | | | | | The CMake option is now called CMAKE_USE_SCHANNEL The winbuild flag is USE_SCHANNEL The CI jobs and build scripts only use the new names and the new name options Tests now require 'Schannel' (when necessary) Closes #5795
* appveyor: collect libcurl.dll variants with prefix or suffixMarc Hoersken2020-07-131-1/+1
| | | | | | | | | On some platforms libcurl is build with a platform-specific prefix and/or a version number suffix. Assisted-by: Jay Satiro Closes #5659
* wording: avoid blacklist/whitelist stereotypesDaniel Stenberg2020-06-101-1/+1
| | | | | | | | Instead of discussing if there's value or meaning (implied or not) in the colors, let's use words without the same possibly negative associations. Closes #5546
* appveyor: add non-debug plain autotools-based buildMarc Hoersken2020-05-301-0/+5
| | | | | | | | | | This should enable us to catch linking issues with the testsuite early, like the one described/fixed in #5475. Reviewed-by: Daniel Stenberg Reviewed-by: Marcel Raad Closes #5477
* test1238: avoid tftpd being busy for tests shortly followingMarc Hoersken2020-05-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | The tftpd server may still be busy if the total timeout of 25 seconds has not been reached or no sread error was received during or after the execution of the timeout test 1238. Once the next TFTP test comes around (eg. 1242 or 1243), those will fail because the tftpd server is still waiting on data from curl due to the UDP protocol being stateless and having no connection close. On Linux this error may not happen, because ICMP errors generated due to a swrite error can also be returned async on the next sread call instead. Therefore we will now just kill the tftpd server after test 1238 to make sure that the following tests are not affected. This enables us to no longer ignore tests 1242, 1243, 2002 and 2003 on the CI platforms CirrusCI and AppVeyor. Assisted-by: Peter Wu Closes #5364
* appveyor: update comments to be clear about toolchainMarc Hoersken2020-05-091-2/+2
| | | | | | | | | | | - CMake-based MSYS builds use mingw-w64 to cross-compile. - autotools-based builds are compiled using msys2-devel. The difference is that the later ones are not cross-compiled to Windows and instead require the msys2 runtime to be present. At the moment only the Azure Pipelines CI builds actually run autotools-based cross-compilation builds for Windows.
* appveyor: disable test 1139 instead of ignoring itMarc Hoersken2020-05-071-8/+8
| | | | | Spending time on manpage checking makes no sense for these builds due to lacking manpage support.
* appveyor: disable flaky test 1501 and ignore broken 1056Marc Hoersken2020-05-071-10/+10
| | | | | | | | | Test 1501 is flaky on Windows CI due to being time sensitive and the testsuite relying on taskkill.exe to check for the existance of processes which can take to much time itself. Test 1056 is broken in autotools-based Windows builds due to scope ID support missing in these builds at the moment.
* appveyor: add Unicode winbuild jobsMarcel Raad2020-04-171-2/+30
| | | | | | These are cheap as they don't build tests. Closes https://github.com/curl/curl/pull/5063
* appveyor: completely disable tests that fail to timeout earlyMarc Hoersken2020-04-131-2/+2
| | | | | | | The tests changed from ignored to disabled are tests that are about connecting to non-listening socket. On AppVeyor these tests are not reliable, because for some unknown reason the connect is not timing out before the test time limit is reached.
* appveyor: partially revert 3413a110 to keep build without proxyMarc Hoersken2020-04-101-2/+2
| | | | | Ref: #5211 and #4526 Reported-by: Marcel Raad
* appveyor: ignore failing 'connect to non-listening proxy' testsMarc Hoersken2020-04-101-3/+3
| | | | Closes #5211
* appveyor: use random test server ports based upon APPVEYOR_API_URLMarc Hoersken2020-04-051-1/+2
| | | | | | Avoid conflicts of test server ports with AppVeyor API on localhost. Closes #5034
* appveyor: sort builds by type and add two new variantsMarc Hoersken2020-04-051-23/+47
| | | | Related to #5034 and #5063
* appveyor: turn disabled tests into ignored result testsMarc Hoersken2020-04-051-8/+8
|
* copyright: fix out-of-date copyright ranges and missing headersDaniel Stenberg2020-03-241-0/+22
| | | | | | | | | Reported by the new script 'scripts/copyright.pl'. The script has a regex whitelist for the files that don't need copyright headers. Removed three (mostly usesless) README files from docs/ Closes #5141
* seek: fix fallback for missing ftruncate on WindowsMarc Hoersken2020-03-071-1/+1
| | | | | | | | This fixes test 198 on versions of MinGW-w64 without ftruncate Reviewed-By: Daniel Stenberg Reviewed-By: Marcel Raad Closes #5055
* appveyor: publish artifacts on appveyorMichał Janiszewski2019-10-301-0/+6
| | | | | | | This allows obtaining upstream builds of curl directly from appveyor for all the available configurations Closes #4509
* appveyor: add --disable-proxy autotools buildMarcel Raad2019-10-271-11/+21
| | | | | | | | This would have caught issue #3926. Also make formatting more consistent. Closes https://github.com/curl/curl/pull/4526
* appveyor: make winbuilds with DEBUG=no/yes and VS 2015/2017Daniel Stenberg2019-10-251-10/+22
| | | | | | | | ... and invoke "curl -V" once done Co-Authored-By: Jay Satiro Closes #4523