.cirrus.yml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. task:
  2. name: build_sdl1
  3. timeout_in: 120m
  4. freebsd_instance:
  5. matrix:
  6. image_family: freebsd-13-0-snap
  7. image_family: freebsd-12-1
  8. image_family: freebsd-12-0
  9. image_family: freebsd-12-1-snap
  10. image_family: freebsd-11-3-snap
  11. env:
  12. CIRRUS_CLONE_DEPTH: 1
  13. MAKE_FLAGS: -j 2
  14. PACKAGES: autoconf automake libtool pkgconf gcc libxml2 freetype2 png curl build xorg glib xorgproto intltool gettext gettext-runtime gettext-tools git sdl sdl_gfx sdl_image sdl_mixer sdl_net sdl_ttf git gdb valgrind
  15. LOCALBASE: /usr/local
  16. LDFLAGS: -L${LOCALBASE}/lib -lintl
  17. CXX: clang++
  18. CC: clang
  19. LOGFILE: clang.log
  20. before_script:
  21. - gcc --version || true
  22. - clang --version || true
  23. - echo ${LOCALBASE}
  24. - echo ${LDFLAGS}
  25. - mkdir logs || true
  26. pkginstall_script:
  27. - pkg update -f
  28. - pkg install -y ${PACKAGES}
  29. env_script:
  30. - env
  31. build_script:
  32. - ./tools/ci/jobs/any_compiler.sh --with-libintl-prefix=${LOCALBASE}
  33. always:
  34. config_artifacts:
  35. path: "config.log"
  36. always:
  37. all_artifacts:
  38. path: "*"
  39. always:
  40. logs_artifacts:
  41. path: "logs/*"
  42. run_script:
  43. - ./tools/ci/scripts/runtests.sh
  44. build_tests_script:
  45. - make clean
  46. - ./tools/ci/jobs/any_compiler_tests.sh --without-dyecmd --without-manaplusgame --with-libintl-prefix=${LOCALBASE}
  47. always:
  48. config_tests_artifacts:
  49. path: "config.log"
  50. always:
  51. all_tests_artifacts:
  52. path: "*"
  53. always:
  54. logs_tests_artifacts:
  55. path: "logs/*"
  56. task:
  57. name: build_sdl2
  58. timeout_in: 120m
  59. freebsd_instance:
  60. matrix:
  61. image_family: freebsd-13-0-snap
  62. image_family: freebsd-12-1
  63. image_family: freebsd-12-0
  64. image_family: freebsd-12-1-snap
  65. image_family: freebsd-11-3-snap
  66. env:
  67. CIRRUS_CLONE_DEPTH: 1
  68. MAKE_FLAGS: -j 2
  69. PACKAGES: autoconf automake libtool pkgconf gcc libxml2 freetype2 png curl build xorg glib xorgproto intltool gettext gettext-runtime gettext-tools git sdl2 sdl2_gfx sdl2_image sdl2_mixer sdl2_net sdl2_ttf git gdb valgrind
  70. LOCALBASE: /usr/local
  71. LDFLAGS: -L${LOCALBASE}/lib -lintl
  72. CXX: clang++
  73. CC: clang
  74. LOGFILE: clang.log
  75. before_script:
  76. - gcc --version || true
  77. - clang --version || true
  78. - echo ${LOCALBASE}
  79. - echo ${LDFLAGS}
  80. - mkdir logs || true
  81. pkginstall_script:
  82. - pkg update -f
  83. - pkg install -y ${PACKAGES}
  84. env_script:
  85. - env
  86. build_script:
  87. - ./tools/ci/jobs/any_compiler.sh --with-sdl2 --with-libintl-prefix=${LOCALBASE}
  88. always:
  89. config_artifacts:
  90. path: "config.log"
  91. always:
  92. all_artifacts:
  93. path: "*"
  94. always:
  95. logs_artifacts:
  96. path: "logs/*"
  97. run_script:
  98. - ./tools/ci/scripts/runtests.sh
  99. build_tests_script:
  100. - make clean
  101. - ./tools/ci/jobs/any_compiler_tests.sh --without-dyecmd --without-manaplusgame --with-libintl-prefix=${LOCALBASE} --with-sdl2
  102. always:
  103. config_tests_artifacts:
  104. path: "config.log"
  105. always:
  106. all_tests_artifacts:
  107. path: "*"
  108. always:
  109. logs_tests_artifacts:
  110. path: "logs/*"