1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-02-02 15:08:15 -05:00

Merge pull request #1620 from profanity-im/readd-ci

Re-Enable CI for TW, ubuntu and macos.

For Arch I get:
```
Step 1/24 : FROM archlinux/latest
pull access denied for archlinux/latest, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
```

for both archlinux/latest and archlinux/base.

Let's leave it out :-)
This commit is contained in:
Michael Vetter 2021-12-03 17:06:14 +01:00 committed by GitHub
commit 5355c9b856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 15 deletions

View File

@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
flavor: [debian, fedora]
flavor: [debian, fedora, tumbleweed, ubuntu]
name: Linux
steps:
@ -22,15 +22,15 @@ jobs:
docker build -f Dockerfile.${{ matrix.flavor }} -t profanity .
docker run profanity ./ci-build.sh
# macos:
# runs-on: macos-latest
# name: macOS
# steps:
# - uses: actions/checkout@v2
# - name: Run brew bundle
# run: brew bundle
# - name: Run tests
# env:
# # Ensure that "keg-only" Homebrew versions are used.
# PKG_CONFIG_PATH: "/usr/local/opt/ncurses/lib/pkgconfig:/usr/local/opt/expat/lib/pkgconfig:/usr/local/opt/curl/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:$PKG_CONFIG_PATH"
# run: ./ci-build.sh
macos:
runs-on: macos-latest
name: macOS
steps:
- uses: actions/checkout@v2
- name: Run brew bundle
run: brew bundle
- name: Run tests
env:
# Ensure that "keg-only" Homebrew versions are used.
PKG_CONFIG_PATH: "/usr/local/opt/ncurses/lib/pkgconfig:/usr/local/opt/expat/lib/pkgconfig:/usr/local/opt/curl/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:$PKG_CONFIG_PATH"
run: ./ci-build.sh

View File

@ -1,4 +1,4 @@
FROM archlinux/base
FROM archlinux/latest
RUN pacman -Syu --noconfirm && pacman -S --needed --noconfirm \
autoconf \

View File

@ -26,7 +26,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libxss-dev \
make \
pkg-config \
python-dev \
python3-dev \
python-dev-is-python3 \
libsqlite3-dev
RUN mkdir -p /usr/src/{stabber,libstrophe,profanity}