about summary refs log tree commit diff stats
path: root/.builds/openbsd.yml
blob: 71c070dff29b6d68619957c36e05f94f1dac7104 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
image: openbsd/6.8

packages:
  - cmake
  - gmake
  - cmocka
  - libtool
  - automake-1.16.2
  - pkgconf
  - readline
  - python-3.8.6p0
  - autoconf-2.69p3
  - autoconf-archive
  - curl
  - gpgme
  - glib2
  - gtk+2
  - libotr
  - libassuan
  - libgpg-error
  - libgcrypt
  - libsignal-protocol-c
  - sqlite3

sources:
  - https://github.com/profanity-im/libmesode.git#0.10.1
  - https://github.com/profanity-im/profanity

environment:
  LANG: en_US.UTF-8

tasks:
  - symlink: |
      doas ln -sf /usr/local/bin/python3 /usr/local/bin/python
      doas ln -sf /usr/local/bin/python3-config /usr/local/bin/python-config
      doas ln -sf /usr/local/bin/pydoc3  /usr/local/bin/pydoc
  - build: |
      export AUTOCONF_VERSION=2.69
      export AUTOMAKE_VERSION=1.16

      cd ~/libmesode
      ./bootstrap.sh
      ./configure
      make
      doas make install

      cd ~/profanity
      ./ci-build.sh