2
0

.cirrus.yml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536
  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 different FreeBSD versions and so
  26. # are disabled. This should be investigated.
  27. - SKIP_TESTS=''
  28. - if [ `uname -r` = "12.0-RELEASE" ] ; then SKIP_TESTS='!303 !304 !323 !504 !1242 !1243 !2002 !2003'; fi
  29. - if [ `uname -r` = "11.2-RELEASE" ] ; then SKIP_TESTS='!303 !304 !310 !311 !312 !313 !504 !1082 !1242 !1243 !2002 !2003 !2034 !2035 !2037 !2038 !2041 !2042 !2048 !3000 !3001'; fi
  30. - if [ `uname -r` = "10.4-RELEASE" ] ; then SKIP_TESTS='!303 !304 !310 !311 !312 !313 !504 !1082 !1242 !1243 !2002 !2003 !2034 !2035 !2037 !2038 !2041 !2042 !2048 !3000 !3001'; fi
  31. - sudo -u nobody make V=1 TFLAGS="-n -a -p !flaky ${SKIP_TESTS}" test-nonflaky
  32. install_script:
  33. - make V=1 install