ci: alpine linux support

main
Luis Díaz Más 4 years ago committed by Luis Díaz Más
parent 6c5c2278cb
commit 3dbe445fbf

@ -11,7 +11,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
# arch suffering this issue: https://github.com/abseil/abseil-cpp/issues/709 # arch suffering this issue: https://github.com/abseil/abseil-cpp/issues/709
container_image: ["fedora:latest", "debian:9", "ubuntu:20.04", "centos:7", "opensuse/tumbleweed", "alpine:latest"] container_image: ["fedora:latest", "debian:9", "ubuntu:20.04", "centos:8", "opensuse/tumbleweed", "alpine:3.13"]
compiler: [g++, clang++] compiler: [g++, clang++]
build_type: [Release, Debug] build_type: [Release, Debug]
shared_libraries: [ON, OFF] shared_libraries: [ON, OFF]

@ -50,6 +50,11 @@ case "$distro_id" in
debian_build_gtest debian_build_gtest
;; ;;
'alpine')
apk update
apk add gcc g++ clang cmake make ccache expat-dev zlib-dev libssh-dev curl-dev gtest gtest-dev gmock libintl gettext-dev which dos2unix bash libxml2-utils diffutils python3
;;
'centos'|'rhel') 'centos'|'rhel')
yum -y install epel-release yum -y install epel-release
# enable copr for gtest # enable copr for gtest

Loading…
Cancel
Save