Skip to content
Snippets Groups Projects
Commit 0bf0720b authored by Virgile Prevosto's avatar Virgile Prevosto
Browse files

[ci] keeps results in artifacts

parent 1f3ab979
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,12 @@ frama-c: ...@@ -31,6 +31,12 @@ frama-c:
stage: build stage: build
script: script:
- nix/frama-ci.sh build -A frama-c.main - nix/frama-ci.sh build -A frama-c.main
artifacts:
when: on_failure
paths:
- commits.nix
- results.log
expire_in: 1 day
tags: tags:
- nix - nix
......
...@@ -9,4 +9,11 @@ export FRAMA_CI=$(nix-instantiate --eval -E "((import <nixos-20.03> {}).callPack ...@@ -9,4 +9,11 @@ export FRAMA_CI=$(nix-instantiate --eval -E "((import <nixos-20.03> {}).callPack
FRAMA_CI=${FRAMA_CI#\"} FRAMA_CI=${FRAMA_CI#\"}
FRAMA_CI=${FRAMA_CI%\"} FRAMA_CI=${FRAMA_CI%\"}
$FRAMA_CI/compile.sh $@ PIPE=$(mktemp)
rm $PIPE
mkfifo $PIPE
tee results.log < $PIPE &
$FRAMA_CI/compile.sh $@ > $PIPE 2>&1
STATUS=$?
rm $PIPE
exit $STATUS
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment