Added CI image for Alpine

This commit is contained in:
Veloman Yunkan 2022-07-03 23:26:28 +04:00
parent fce112d4b1
commit 1755044333
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:
fail-fast: false
matrix:
variant: [bionic, f35, focal]
variant: [bionic, f35, focal, alpine]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

View File

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