bitbucket-pipelines.yml

Sat, 22 Jul 2017 17:07:12 -0500

author
Mike Ruprecht <cmaiku@gmail.com>
date
Sat, 22 Jul 2017 17:07:12 -0500
changeset 38609
880fce2800d8
parent 38181
6dc8cae57962
child 38740
560f19f9911a
permissions
-rw-r--r--

Add --export-all-symbols to Jabber and Oscar protocol plugins

By default, Windows targets are built with the equivalent of
--export-all-symbols unless G_MODULE_EXPORT or equivalent are used.
Then it only exports the symbols marked with that. This causes the
Jabber and Oscar testsuites in Windows to fail to link. This patch
adds --export-all-symbols to them to ensure the testsuites link.

There may be a better solution later, such as possibly removing
G_MODULE_EXPORT tags, but this fixes it for now.

# vi:et:ts=2 sw=2 sts=2
image: pidgin/builder-debian:stretch
pipelines:
  default:
    - step:
        script:
          - set -ex
          - ./autogen.sh --enable-debug --enable-gtk-doc
          - make -s -j$(nproc)
          - make -s -j$(nproc) distcheck
  branches:
    release-2.x.y:
      - step:
          image: pidgin/release-builder:release-2.x.y
          script:
            - set -ex
            - ./autogen.sh --enable-debug
            - make -s -j$(nproc)
            - make -s -j$(nproc) check
            - make distcheck

mercurial