CI: Add Alpine job to check if ns-3 can be built with Musl C library
This commit is contained in:
25
utils/tests/gitlab-ci-alpine.yml
Normal file
25
utils/tests/gitlab-ci-alpine.yml
Normal 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
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user