summaryrefslogtreecommitdiff
path: root/.cirrus.yml
Commit message (Collapse)AuthorAgeFilesLines
* CI: skip some more builds when possibleDan Fandrich2023-03-241-0/+2
| | | | | | | | | When a commit only contains tests, documentation, or cmake files, skip those builds that aren't affected by those. The file filters available on the CI services don't seem to allow skipping individual jobs, only the entire workflow, so we can't get any more fine-grained than this.
* CI: don't run CI jobs if only another CI was changedDan Fandrich2023-03-111-1/+34
| | | | | | | | | | | 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
* CI: fix retrying on brew failuresDan Fandrich2023-03-101-1/+1
| | | | | | | The previous attempt didn't consider that the shell would exit immediately after the false statement in the retry case. Follow-up to dc141a37
* CI: retry a failed brew update too, not just brew installDan Fandrich2023-03-101-1/+1
| | | | | Also, make sure an eventual failure ends up returning a failure code so the job stops.
* .cirrus.yml: Bump to FreeBSD 13.2Philip H2023-02-251-2/+2
| | | | Closes #10270
* 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: Change FreeBSD image from 12.3 to 12.4Philip H2022-12-071-2/+2
| | | | | | Ref: https://www.phoronix.com/news/FreeBSD-12.4-Released Closes https://github.com/curl/curl/pull/10051
* CI/cirrus: remove superfluous double-quotes and sudoMarc Hoersken2022-10-301-14/+15
| | | | | Follow up to #9565 and #9677 Closes #9738
* cirrus-ci: add more macOS builds with m1 based on x86_64 buildsPhilip H2022-10-151-2/+55
| | | | | | | Also refactor macOS builds to use task matrix. Assisted-by: Marc Hörsken Closes #9565
* CI/cirrus: merge existing macOS jobs into a job matrixMarc Hoersken2022-10-081-27/+14
| | | | | | | Ref: #9627 Reviewed-by: Philip H. Closes #9672
* cirrus: use make LDFLAGS=-all-static instead of curl_LDFLAGSJay Satiro2022-10-051-5/+7
| | | | | | | | | | - Correct the use of -all-static for static Windows CI builds. curl_LDFLAGS was removed from the makefile when metalink support was removed. LDFLAGS=-all-static is passed to make only, because it is not a valid option for configure compilation tests. Closes https://github.com/curl/curl/pull/9633
* cirrus-ci: add macOS build with m1Philip H2022-09-291-0/+48
| | | | | | Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Closes #9565
* cirrus: enable websockets in the windows buildsDaniel Stenberg2022-09-091-3/+3
|
* cirrus/freebsd-ci: bootstrap the pip installerPhilip H2022-08-081-1/+3
| | | | | | Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Closes #9213
* cirrus.yml: replace py38-pip with py39-pipPhilip H2022-07-261-1/+1
| | | | | | Reported-by: Jay Satiro Fixes #9201 Closes #9202
* CI: bump FreeBSD 13.0 to 13.1Philip H2022-06-181-2/+2
| | | | | Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Closes #8815
* CI/cirrus: align Windows timeout with Azure CI at 120 minutesMarc Hoersken2022-06-161-1/+1
| | | | Closes #9009
* 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
* CI: remove configure --enable-headers-api flagsDaniel Stenberg2022-05-301-4/+4
|
* cirrus: Use pip for Python packages on FreeBSDPhilip H2022-05-021-4/+4
| | | | | | | | Using pip instead of easy_install is more in line with how other CI images are being maintained. Closes: #8783 Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
* cirrus: Update to FreeBSD 12.3Philip H2022-05-021-2/+2
| | | | | Closes: #8783 Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
* cirrus: add --enable-headers-api for some windows buildsDaniel Stenberg2022-03-221-4/+4
|
* CI: Do not use buildconf. Instead, just use: autoreconf -fiPhilip H2022-03-151-3/+3
| | | | Closes #8596
* CI: install Python package impacket to run SMB test 1451Marc Hoersken2022-03-061-4/+4
| | | | | | | | Install Python package impacket in relevant CI workflows. Follow up to #7935 Supersedes #7940 Closes #8544
* CI: build examples for additional code verificationMarc Hoersken2021-12-141-2/+2
| | | | | | | | | | Some CIs already build them, let's do it on more of them. Reviewed-by: Daniel Stenberg Follow up to #7690 and 77311f420a541a0de5b3014e0e40ff8b4205d4af Replaces #7591 Closes #7922
* tests: add Schannel-specific tests and disable unsupported onesMarc Hoersken2021-11-091-5/+5
| | | | | | | | | | | | | | | | | Adds Schannel variants of SSLpinning tests that include the option --ssl-revoke-best-effort to ignore certificate revocation check failures which is required due to our custom test CA certificate. Disable the original variants if the Schannel backend is enabled. Also skip all IDN tests which are broken while using an msys shell. This is a step to simplify test exclusions for Windows and MinGW. Reviewed-by: Jay Satiro Reviewed-by: Marcel Raad Reviewed-by: Daniel Stenberg Closes #7968
* 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
* cirrus: remove FreeBSD 11.4 from the matrixDaniel Stenberg2021-10-181-3/+0
| | | | | | It has reached End-Of-Life and causes some LDAP CI issues. Closes #7869
* cirrus: switch to openldap24-clientDaniel Stenberg2021-10-181-1/+1
| | | | | | | | ... as it seems openldap-client doesn't exist anymore. Reported-by: Jay Satiro Fixes #7868 Closes #7869
* CI/makefiles: introduce dedicated test targetMarc Hoersken2021-10-081-1/+1
| | | | | | | | | | 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-6/+6
| | | | | | | | | | 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-2/+2
| | | | | | | | | | | | | | | 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
* cirrus: Add FreeBSD 13.0 job and disable sanitizer buildDaniel Gustafsson2021-09-081-9/+11
| | | | | | | | | | | | | As alluded to the in the now removed comment, a 13.0 image became available and is now ready to be used. The sanitizer builds were running on the 12.1 image which since has been removed from the config, leaving the builds not running at all. When enabled it turns out that they don't actually work due to very long timeouts in executing the tests, so keep the disabled for now but a bit more controlled. Closes #7592
* CI: use GitHub Container Registry instead of Docker HubMarc Hoersken2021-08-181-4/+4
| | | | | | Avoid limits on Docker Hub and improve image pull/download speed. Closes #7587
* CI/cirrus: reduce compile time with increased parallismMarc Hoersken2021-07-311-0/+1
| | | | | | | Cirrus CI VMs have 2 CPUs, let's use them also for Windows builds. Reviewed-by: Daniel Stenberg Closes #7505
* CI/cirrus: install impacket from PyPI instead of FreeBSD packagesMarc Hoersken2021-07-181-4/+4
| | | | | | | | | | | Availability of impacket as FreeBSD package is too flaky. Stick to legacy version of cryptography which still supports OpenSSL version 1.0.2 due to FreeBSD 11. Reviewed-by: Daniel Stenberg Closes #7418
* metalink: removeDaniel Stenberg2021-06-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Warning: this will make existing curl command lines that use metalink to stop working. Reasons for removal: 1. We've found several security problems and issues involving the metalink support in curl. The issues are not detailed here. When working on those, it become apparent to the team that several of the problems are due to the system design, metalink library API and what the metalink RFC says. They are very hard to fix on the curl side only. 2. The metalink usage with curl was only very briefly documented and was not following the "normal" curl usage pattern in several ways, making it surprising and non-intuitive which could lead to further security issues. 3. The metalink library was last updated 6 years ago and wasn't so active the years before that either. An unmaintained library means there's a security problem waiting to happen. This is probably reason enough. 4. Metalink requires an XML parsing library, which is complex code (even the smaller alternatives) and to this day often gets security updates. 5. Metalink is not a widely used curl feature. In the 2020 curl user survey, only 1.4% of the responders said that they'd are using it. In 2021 that number was 1.2%. Searching the web also show very few traces of it being used, even with other tools. 6. The torrent format and associated technology clearly won for downloading large files from multiple sources in parallel. Cloes #7176
* CI/cirrus: add shared and static Windows release buildsMarc Hoersken2021-05-161-6/+65
| | | | | | | | | | Azure Pipelines is currently being used for debug builds, let's also run some non-debug (release) Windows builds and make use of previously underutilized Cirrus CI for that. Reviewed-by: Marcel Raad Closes #6991
* ci: adapt to configure requiring an explicit TLS choiceDaniel Stenberg2021-04-221-1/+1
|
* copyright: update copyright year ranges to 2021Daniel Stenberg2021-03-271-1/+1
| | | | | Reviewed-by: Emil Engler Closes #6802
* ci: stop building on freebsd-12-1Viktor Szakats2021-02-181-1/+0
| | | | | | | | | | | | | | | | | | | An updated freebsd-12-2 image was added a few months ago, and this older one is consistently failing to go past `pkginstall`: ``` Newer FreeBSD version for package py37-mlt: To ignore this error set IGNORE_OSVERSION=yes - package: 1202000 - running kernel: 1201000 Ignore the mismatch and continue? [Y/n]: pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:12:amd64 ``` FreeBSD thread suggests that 12.1 is EOL, and best to avoid. Ref: https://forums.freebsd.org/threads/78856/ Reviewed-by: Daniel Stenberg Closes #6622
* CI/cirrus: simplify logic for disabled testsMarc Hoersken2020-11-201-10/+3
| | | | | | | | | | | | | | The OpenSSH server instance for the testsuite cannot be started on FreeBSD, therefore the SFTP and SCP tests are disabled right away from the beginning. The previous OS version specific logic for SKIP_TESTS is no longer needed/used and can therefore be removed. Reviewed-by: Daniel Stenberg Follow up to #6211 Closes #6229
* cirrus: build with FreeBSD 12.2 in CirrusCIEmil Engler2020-11-171-0/+1
| | | | Closes #6211
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* cirrus-ci: upgrade 11-STABLE to 11.4Carlo Marcelo Arenas Belón2020-07-111-3/+2
| | | | | | | | Meant to be the last of the 11 series and so make sure that all other references reflect all 11 versions so they can be retired together later. Closes https://github.com/curl/curl/pull/5668
* cirrus-ci: disable FreeBSD 13 (again)Daniel Stenberg2020-06-291-1/+1
| | | | | | | It has been failing for a good while again. This time we better leave it disabled until we have more reason to believe it behaves. Closes #5628
* test1238: avoid tftpd being busy for tests shortly followingMarc Hoersken2020-05-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | 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
* cirrus: disable SFTP and SCP testsDaniel Stenberg2020-04-301-3/+3
| | | | | | | | | ... as we can't seem to start the sshd server on it. Those problems existed before d1239b50bececd (running the SSH server on a random port), but they're more noticable now since there are more failed attempts in the logs. Closes #5315
* cirrus: no longer ignore test 504 which is working againMarc Hoersken2020-04-131-1/+1
| | | | The test is working again, because TCP blackholing is disabled.
* copyright: fix out-of-date copyright ranges and missing headersDaniel Stenberg2020-03-241-0/+21
| | | | | | | | | 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