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
3 changed files with 16 additions and 15 deletions

View File

@@ -12,7 +12,7 @@ jobs:
strategy: strategy:
matrix: matrix:
flavor: [debian, fedora] flavor: [debian, fedora, tumbleweed, ubuntu]
name: Linux name: Linux
steps: steps:
@@ -22,15 +22,15 @@ jobs:
docker build -f Dockerfile.${{ matrix.flavor }} -t profanity . docker build -f Dockerfile.${{ matrix.flavor }} -t profanity .
docker run profanity ./ci-build.sh docker run profanity ./ci-build.sh
# macos: macos:
# runs-on: macos-latest runs-on: macos-latest
# name: macOS name: macOS
# steps: steps:
# - uses: actions/checkout@v2 - uses: actions/checkout@v2
# - name: Run brew bundle - name: Run brew bundle
# run: brew bundle run: brew bundle
# - name: Run tests - name: Run tests
# env: env:
# # Ensure that "keg-only" Homebrew versions are used. # 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" 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 run: ./ci-build.sh

View File

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

View File

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