diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f7d085527481d849203eed7c3535a0171186d513..78c81ec0796fed340fce467e3d035c75e2a2e39d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,9 @@ # can use versions as well, like gcc:5.2 # see https://hub.docker.com/_/gcc/ +variables: + EXEC_NAME: "./mysh" # change this to your executable path as generated by the make file + image: gcc build: @@ -20,7 +23,7 @@ build: - make artifacts: paths: - - mysh # YOU CAN REPLACE THIS LINE BY THE NAME OF YOUR SHELL + - "$EXEC_NAME" # depending on your build setup it's most likely a good idea to cache outputs to reduce the build time cache: paths: @@ -33,4 +36,4 @@ test: - apt update && apt -y install make python3-colorama - apt update && apt -y install make python3-psutil script: - - python3 test/test.py ./ultra-cp + - python3 test/test.py "$EXEC_NAME"