This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM gitlab/gitlab-runner:latest | |
RUN apt-get update && \ | |
apt-get install -y --no-install-recommends make cmake g++ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages : | |
- build | |
- test | |
- release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build-project: | |
stage : build | |
script: | |
- mkdir Step7_build | |
- cd Step7_build | |
- cmake ../Step7 && cmake --build . && make |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
release-project: | |
stage: release | |
script: | |
- mkdir Step7_build | |
- cd Step7_build | |
- cmake ../Step7 && cmake --build . && make | |
- cpack -G DEB | |
artifacts: | |
paths: | |
- ./Step7_build/Tutorial-*-Linux.deb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
do_compile_append(){ | |
bbwarn "This is the post build log!" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inherit ${@"post-build-log" if d.getVar("POST_BUILD_LOG") == "1" else ""} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST_BUILD_LOG ?= "0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST_BUILD_LOG = "1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MYVAR = "${@"ENABLED" if d.getVar("POST_BUILD_LOG") == "1" else "DISABLED"}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
xset -dpms | |
xset s off | |
openbox-session & | |
while true; do | |
firefox - kiosk "http://medium.com" | |
done |
OlderNewer