diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 11716322bf695c0837eb844ace835f00af192d79..0e418d9831b9e0bbe756e06838c9ae2b6d9c57f8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ variables: stages: - prepare - build - #- test + - test # Stage: prepare ############################################################################## @@ -25,24 +25,23 @@ build: stage: build script: - make + - du -hs ./target image: ${IMAGE} tags: - docker - #artifacts: - # untracked: true - # expire_in: 1 week - # paths: - # - ./target + artifacts: + expire_in: 1 week + paths: + - ./target/x86_64-eduos/debug/eduos-rs # Stage: test ############################################################################## -#test: -# stage: test -# script: -# - lscpu -# - make test -# image: ${IMAGE} -# tags: -# - docker -# dependencies: -# - build +test: + stage: test + script: + - make run + image: ${IMAGE} + tags: + - docker + dependencies: + - build