1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-07-14 18:14:15 -04:00

Add Fedora travis CI

Regards https://github.com/profanity-im/profanity/issues/1314#issuecomment-614242435
This commit is contained in:
Michael Vetter 2020-04-16 12:33:58 +02:00
parent 05db5226dd
commit a1d37dda18
3 changed files with 70 additions and 4 deletions

View File

@ -20,6 +20,8 @@ matrix:
env: BUILD_FLAVOR=debian
- os: linux
env: BUILD_FLAVOR=arch
- os: linux
env: BUILD_FLAVOR=fedora
- os: osx
env:
# Ensure that "keg-only" Homebrew versions are used.

66
Dockerfile.fedora Normal file
View File

@ -0,0 +1,66 @@
# Build the latest Fedora image
FROM fedora:latest
# expect - for functional tests
# libmicrohttpd - for stabber
# glibc-locale - to have en_US locale
RUN dnf install -y \
autoconf \
autoconf-archive \
automake \
expect-devel \
gcc \
git \
glib2-devel \
glibc-all-langpacks \
gtk2-devel \
libXScrnSaver-devel \
libcmocka-devel \
libcurl-devel \
expat-devel \
libgcrypt-devel \
gpgme-devel \
libmicrohttpd-devel \
libnotify-devel \
libotr-devel \
libsignal-protocol-c-devel \
libtool \
libuuid-devel \
make \
ncurses-devel \
python \
python-devel \
python3 \
python3-devel \
readline-devel \
openssl-devel \
sqlite-devel
# https://github.com/openSUSE/docker-containers-build/issues/26
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN mkdir -p /usr/src
WORKDIR /usr/src
RUN mkdir -p /usr/src/stabber
RUN git clone git://github.com/boothj5/stabber.git
WORKDIR /usr/src/stabber
RUN ./bootstrap.sh
RUN ./configure --prefix=/usr --disable-dependency-tracking
RUN make
RUN make install
WORKDIR /usr/src
RUN mkdir -p /usr/src/libmesode
RUN git clone git://github.com/profanity-im/libmesode.git
WORKDIR /usr/src/libmesode
RUN ./bootstrap.sh
RUN ./configure --prefix=/usr
RUN make
RUN make install
RUN mkdir -p /usr/src/profanity
WORKDIR /usr/src/profanity
COPY . /usr/src/profanity

View File

@ -1,5 +1,4 @@
Profanity
=========
# Profanity
[![Build Status](https://api.travis-ci.org/profanity-im/profanity.png?branch=master)](https://travis-ci.org/profanity-im/profanity) [![builds.sr.ht status](https://builds.sr.ht/~wstrm/profanity.svg)](https://builds.sr.ht/~wstrm/profanity?) [![Chat](https://inverse.chat/badge.svg?room=profanity@rooms.dismail.de)](https://conversations.im/j/profanity@rooms.dismail.de)
Profanity is a console based XMPP client inspired by [Irssi](http://www.irssi.org/).
@ -10,8 +9,7 @@ If you like Profanity consider becoming a sponsor or [donate](https://profanity-
See the [User Guide](https://profanity-im.github.io/userguide.html) for information on installing and using Profanity.
Links
-----
## Links
Homepage: https://profanity-im.github.io/ - https://github.com/profanity-im/profanity-im.github.io