File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Cannot be parametrized in Jenkins...
2- FROM docker. openmodelica.org /build-deps:v1.22.2
2+ FROM ghcr.io/ openmodelica/build-deps:v1.26.0
33
4- # We don't know the uid of the user who will build, so make the /cache directories world writable
5-
6- RUN apt update && apt install -y libasan6 libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev && \
7- mkdir -p /cache/runtest/ /cache/omlibrary/ && chmod ugo+rwx /cache/runtest/ /cache/omlibrary/
4+ # We don't know the uid of the user who will build, so make the /cache
5+ # directories world writable
6+ RUN apt-get update \
7+ && apt-get install -y \
8+ libasan6 \
9+ libxcursor-dev \
10+ libxi-dev \
11+ libxinerama-dev \
12+ libxrandr-dev \
13+ && mkdir -p /cache/runtest/ /cache/omlibrary/ \
14+ && chmod ugo+rwx /cache/runtest/ /cache/omlibrary/
Original file line number Diff line number Diff line change @@ -64,6 +64,24 @@ pipeline {
6464 stash name : ' docs' , includes : " install/share/doc/**"
6565 }
6666 }
67+ stage(' linux64-focal' ) {
68+ agent {
69+ docker {
70+ image ' docker.openmodelica.org/build-deps:v1.22.2'
71+ label ' linux'
72+ alwaysPull true
73+ }
74+ }
75+ environment {
76+ HOME = " /tmp/"
77+ }
78+ steps {
79+ buildOMS()
80+ sh ' (cd install/ && tar czf "../OMSimulator-linux-focal-amd64-`git describe --tags --abbrev=7 --match=v*.* --exclude=*-dev | sed \' s/-/.post/\' `.tar.gz" *)'
81+
82+ archiveArtifacts artifacts : ' OMSimulator-linux-focal-amd64-*.tar.gz' , fingerprint : true
83+ }
84+ }
6785 stage(' linux64-asan' ) {
6886 stages {
6987 stage(' build-asan' ) {
Original file line number Diff line number Diff line change 11# generated files
22/* .log
3+ * .fail_log
4+ * .test_log
You can’t perform that action at this time.
0 commit comments