about summary refs log tree commit diff stats
path: root/.builds/openbsd.yml
blob: 326bdb5f99676ec08a69e0f9ab1ce9c14b1e5529 (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
49
image: openbsd/7.0

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

sources:
  - https://github.com/strophe/libstrophe.git#0.11.0
  - 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 ~/libstrophe
      ./bootstrap.sh
      ./configure
      make
      doas make install

      cd ~/profanity
      ./ci-build.sh