.cirrus.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. # Cirrus CI configuration
  2. # https://cirrus-ci.com/github/curl/curl
  3. task:
  4. name: FreeBSD
  5. freebsd_instance:
  6. matrix:
  7. image: freebsd-12-0-release-amd64
  8. image: freebsd-11-2-release-amd64
  9. image: freebsd-10-4-release-amd64
  10. env:
  11. CIRRUS_CLONE_DEPTH: 1
  12. MAKE_FLAGS: -j 2
  13. pkginstall_script:
  14. - pkg install -y autoconf automake libtool pkgconf brotli openldap-client heimdal libpsl libmetalink libssh2 openssh-portable libidn2 librtmp libnghttp2 nghttp2 stunnel
  15. - pkg delete -y curl
  16. configure_script:
  17. - ./buildconf
  18. - ./configure --prefix="${HOME}"/install --enable-debug --with-libssh2 --with-brotli --with-gssapi --with-libidn2 --enable-manual --enable-ldap --enable-ldaps --with-librtmp --with-libmetalink --with-libpsl --with-nghttp2 || { tail -300 config.log; false; }
  19. compile_script:
  20. - make V=1
  21. test_script:
  22. # Some tests won't run if run as root so run them as another user.
  23. # Make directories world writable so the test step can write wherever it needs.
  24. - find . -type d -exec chmod 777 {} \;
  25. # TODO: A number of tests are failing on FreeBSD and so are disabled.
  26. # This should be investigated.
  27. - sudo -u nobody make V=1 TFLAGS='-n -a -p !flaky !303 !304 !310 !311 !312 !313 !323 !504 !1082 !1242 !1243 !2002 !2003 !2034 !2035 !2037 !2038 !2041 !2042 !2048 !3000 !3001' test-nonflaky
  28. install_script:
  29. - make V=1 install