Merge pull request #536 from kiwix/ci_for_alpine
This commit is contained in:
commit
c548a09f25
|
@ -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
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue