GitLab maintenance scheduled for Tomorrow, 2019-03-26, from 12:00 to 13:00 CDT - Services will be unavailable during this time.

Commit 268d9ebe authored by Valentin Reis's avatar Valentin Reis

adding basic gitlab ci template.

parent 9229b2e7
Pipeline #4876 passed with stage
in 9 seconds
## DO NOT REMOVE this file. some repositories DEPEND on it.
#
############# Build tests ############
.nix-build:
stage: build
tags:
- integration
containers.build:
extends: .nix-build
script:
- CACHE=$(mktemp -d --suffix=nixcache /tmp/deletable-nix-cache-XXXX)
- XDG_CACHE_HOME=$CACHE nix-build .nix -A containers
- rm -rf $CACHE
libnrm.build:
extends: .nix-build
script:
- CACHE=$(mktemp -d --suffix=nixcache /tmp/deletable-nix-cache-XXXX)
- XDG_CACHE_HOME=$CACHE nix-build .nix -A libnrm
- rm -rf $CACHE
nrm.build:
extends: .nix-build
script:
- CACHE=$(mktemp -d --suffix=nixcache /tmp/deletable-nix-cache-XXXX)
- XDG_CACHE_HOME=$CACHE nix-build .nix -A nrm
- rm -rf $CACHE
############# Integration tests ############
.nix-integration:
stage: test
artifacts:
paths:
- _output/cmd_err.log
- _output/cmd_out.log
- _output/daemon_out.log
- _output/daemon_out.log
- _output/nrm.log
- _output/.argo_nodeos_config_exit_message
expire_in: 1 week
except:
- /^wip\/.*/
- /^WIP\/.*/
tags:
- integration
.TestPower.test:
extends: .nix-integration
script:
- CACHE=$(mktemp -d --suffix=nixcache /tmp/deletable-nix-cache-XXXX)
- XDG_CACHE_HOME=$CACHE nix-shell .nix -A test --run "argotk.hs TestPower"
- rm -rf $CACHE
.TestHello.test:
extends: .nix-integration
script:
- CACHE=$(mktemp -d --suffix=nixcache /tmp/deletable-nix-cache-XXXX)
- XDG_CACHE_HOME=$CACHE nix-shell .nix -A test --run "argotk.hs TestHello"
- rm -rf $CACHE
.TestListen.test:
extends: .nix-integration
script:
- CACHE=$(mktemp -d --suffix=nixcache /tmp/deletable-nix-cache-XXXX)
- XDG_CACHE_HOME=$CACHE nix-shell .nix -A test --run "argotk.hs TestListen"
- rm -rf $CACHE
.TestPerfwrapper.test:
extends: .nix-integration
script:
- CACHE=$(mktemp -d --suffix=nixcache /tmp/deletable-nix-cache-XXXX)
- XDG_CACHE_HOME=$CACHE nix-shell .nix -A test --run "argotk.hs TestPerfwrapper"
- rm -rf $CACHE
KNL-Power.test:
extends: .TestPower.test
tags:
- knl
Perfwrapper.test:
extends: .TestPerfwrapper.test
KNL-Perfwrapper.test:
extends: .TestPerfwrapper.test
tags:
- knl
Listen.test:
extends: .TestListen.test
KNL-Listen.test:
extends: .TestListen.test
tags:
- knl
Hello.test:
extends: .TestHello.test
KNL-Hello.test:
extends: .TestHello.test
tags:
- knl
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment