summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-06-04 01:04:36 +0300
committerAndrei Karas <akaras@inbox.ru>2020-06-04 13:33:27 +0300
commit642df3995a5caf6d78f05102361d447328116bcc (patch)
tree8a18889133d6776b3a06524fb2ca4c8c9e1cc830 /.cirrus.yml
parent773f91f06b934347494149d6900ec4a67389a3a2 (diff)
downloadmanaverse-642df3995a5caf6d78f05102361d447328116bcc.tar.gz
manaverse-642df3995a5caf6d78f05102361d447328116bcc.tar.bz2
manaverse-642df3995a5caf6d78f05102361d447328116bcc.tar.xz
manaverse-642df3995a5caf6d78f05102361d447328116bcc.zip
Add .cirrus.yml
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml138
1 files changed, 138 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
new file mode 100644
index 000000000..8e5a85288
--- /dev/null
+++ b/.cirrus.yml
@@ -0,0 +1,138 @@
+task:
+ name: build_sdl1
+ timeout_in: 120m
+ freebsd_instance:
+ matrix:
+ image_family: freebsd-13-0-snap
+ image_family: freebsd-12-1
+ image_family: freebsd-12-0
+ image_family: freebsd-12-1-snap
+ image_family: freebsd-11-3-snap
+
+ env:
+ CIRRUS_CLONE_DEPTH: 1
+ MAKE_FLAGS: -j 2
+ 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
+ LOCALBASE: /usr/local
+ LDFLAGS: -L${LOCALBASE}/lib -lintl
+ CXX: clang++
+ CC: clang
+ LOGFILE: clang.log
+
+ before_script:
+ - gcc --version || true
+ - clang --version || true
+ - echo ${LOCALBASE}
+ - echo ${LDFLAGS}
+ - mkdir logs || true
+
+ pkginstall_script:
+ - pkg update -f
+ - pkg install -y ${PACKAGES}
+
+ env_script:
+ - env
+
+ build_script:
+ - ./tools/ci/jobs/any_compiler.sh --with-libintl-prefix=${LOCALBASE}
+
+ always:
+ config_artifacts:
+ path: "config.log"
+
+ always:
+ all_artifacts:
+ path: "*"
+
+ always:
+ logs_artifacts:
+ path: "logs/*"
+
+ run_script:
+ - ./tools/ci/scripts/runtests.sh
+
+ build_tests_script:
+ - make clean
+ - ./tools/ci/jobs/any_compiler_tests.sh --without-dyecmd --without-manaplusgame --with-libintl-prefix=${LOCALBASE}
+
+ always:
+ config_tests_artifacts:
+ path: "config.log"
+
+ always:
+ all_tests_artifacts:
+ path: "*"
+
+ always:
+ logs_tests_artifacts:
+ path: "logs/*"
+
+
+task:
+ name: build_sdl2
+ timeout_in: 120m
+ freebsd_instance:
+ matrix:
+ image_family: freebsd-13-0-snap
+ image_family: freebsd-12-1
+ image_family: freebsd-12-0
+ image_family: freebsd-12-1-snap
+ image_family: freebsd-11-3-snap
+
+ env:
+ CIRRUS_CLONE_DEPTH: 1
+ MAKE_FLAGS: -j 2
+ 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
+ LOCALBASE: /usr/local
+ LDFLAGS: -L${LOCALBASE}/lib -lintl
+ CXX: clang++
+ CC: clang
+ LOGFILE: clang.log
+
+ before_script:
+ - gcc --version || true
+ - clang --version || true
+ - echo ${LOCALBASE}
+ - echo ${LDFLAGS}
+ - mkdir logs || true
+
+ pkginstall_script:
+ - pkg update -f
+ - pkg install -y ${PACKAGES}
+
+ env_script:
+ - env
+
+ build_script:
+ - ./tools/ci/jobs/any_compiler.sh --with-sdl2 --with-libintl-prefix=${LOCALBASE}
+
+ always:
+ config_artifacts:
+ path: "config.log"
+
+ always:
+ all_artifacts:
+ path: "*"
+
+ always:
+ logs_artifacts:
+ path: "logs/*"
+
+ run_script:
+ - ./tools/ci/scripts/runtests.sh
+
+ build_tests_script:
+ - make clean
+ - ./tools/ci/jobs/any_compiler_tests.sh --without-dyecmd --without-manaplusgame --with-libintl-prefix=${LOCALBASE} --with-sdl2
+
+ always:
+ config_tests_artifacts:
+ path: "config.log"
+
+ always:
+ all_tests_artifacts:
+ path: "*"
+
+ always:
+ logs_tests_artifacts:
+ path: "logs/*"