CI: Add Alpine job to check if ns-3 can be built with Musl C library

This commit is contained in:
Gabriel Ferreira
2022-05-17 16:19:42 -03:00
parent ecd18974cd
commit 0548f480ee
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
# NS3 CI script for Alpine
# Any scheduled pipeline for Alpine should define a variable, named
# "RELEASE", that has a value "weekly". Also, the variale "ALPINE" should be
# set to True.
# Alpine base
.weekly-build-alpine:
extends: .base-build
only:
variables:
- $RELEASE == "weekly"
- $ALPINE == "True"
variables:
COMPILER: g++
weekly-build-alpine-latest-default:
extends: .weekly-build-alpine
image: alpine:latest
before_script:
- apk update
- apk upgrade
- apk add bash ccache cmake g++ iproute2 ninja python3 linux-headers
variables:
MODE: default

View File

@@ -105,6 +105,7 @@ per-commit-compile-optimized:
# Weekly jobs for other distribution and compilers
include:
- 'utils/tests/gitlab-ci-alpine.yml'
- 'utils/tests/gitlab-ci-ubuntu.yml'
- 'utils/tests/gitlab-ci-fedora.yml'
- 'utils/tests/gitlab-ci-gcc.yml'