Merge pull request #536 from kiwix/ci_for_alpine

This commit is contained in:
Matthieu Gautier 2022-07-11 16:19:39 +02:00 committed by GitHub
commit c548a09f25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 2 deletions

View File

@ -0,0 +1,23 @@
FROM alpine:3.16
ENV LANG C.UTF-8
ENV OS_NAME alpine
RUN apk update -q \
&& apk add -q --no-cache \
# Base build tools
bash build-base git py3-pip \
# Packaged dependencies
xz-dev \
zstd-dev \
xapian-core-dev \
icu-dev icu-data-full \
gtest-dev
# Create user
RUN adduser -h /home/runner -D runner
USER runner
WORKDIR /home/runner
ENV PATH /home/runner/.local/bin:$PATH
RUN pip3 install meson ninja ; \
ln -s /usr/bin/python3 .local/bin/python

View File

@ -13,7 +13,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
variant: [bionic, f35, focal] variant: [bionic, f35, focal, alpine]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View File

@ -15,7 +15,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
variant: [bionic, f35, focal] variant: [bionic, f35, focal, alpine]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2