about summary refs log tree commit diff stats
path: root/.builds
diff options
context:
space:
mode:
authorWilliam Wennerström <william@wstrm.dev>2020-02-14 12:50:52 +0100
committerWilliam Wennerström <william@wstrm.dev>2020-02-17 10:54:15 +0100
commitb267b065f5b4c6fef93cb6f26c59f2e5c7dc7342 (patch)
tree43e80dbd080fbaa38a50fe5501f4433ecb04925e /.builds
parentca3afa7e05ae87158b6c1bfca1758763d4b0d8a2 (diff)
downloadprofani-tty-b267b065f5b4c6fef93cb6f26c59f2e5c7dc7342.tar.gz
Add builds.sr.ht CI for OpenBSD
* Add .builds/openbsd.yml for builds.sr.ht
* Update travis-build.sh -> ci-build.sh with OpenBSD case
* Fix libdl check in configure.ac (OpenBSD has libdl built-in)
* Fix some minor issues found when compiling on OpenBSD with GCC (e.g.
  uninitialized variables)
Diffstat (limited to '.builds')
-rw-r--r--.builds/openbsd.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml
new file mode 100644
index 00000000..de318fca
--- /dev/null
+++ b/.builds/openbsd.yml
@@ -0,0 +1,40 @@
+image: openbsd/6.6
+
+packages:
+  - cmake
+  - gmake
+  - cmocka
+  - libtool
+  - automake-1.16.1
+  - pkgconf
+  - readline
+  - python-3.7.4
+  - autoconf-2.69p2
+  - autoconf-archive
+  - libmesode
+  - curl
+  - gpgme
+  - glib2
+  - gtk+2
+  - libotr
+  - libassuan
+  - libgpg-error
+  - libgcrypt
+  - libsignal-protocol-c
+
+sources:
+  - https://github.com/profanity-im/profanity
+
+environment:
+  LANG: en_US.UTF-8
+
+tasks:
+  - symlink: |
+      doas ln -sf /usr/local/bin/python3.7 /usr/local/bin/python
+      doas ln -sf /usr/local/bin/python3.7-config /usr/local/bin/python-config
+      doas ln -sf /usr/local/bin/pydoc3.7  /usr/local/bin/pydoc
+  - build: |
+      export AUTOCONF_VERSION=2.69
+      export AUTOMAKE_VERSION=1.16
+      cd profanity
+      ./ci-build.sh