Skip to content
Snippets Groups Projects
Commit d257e6be authored by guillaum.chanel's avatar guillaum.chanel
Browse files

Set executable as variable

parent 1ebd0f9f
Branches
No related tags found
No related merge requests found
Pipeline #19671 failed
...@@ -8,6 +8,9 @@ ...@@ -8,6 +8,9 @@
# can use versions as well, like gcc:5.2 # can use versions as well, like gcc:5.2
# see https://hub.docker.com/_/gcc/ # see https://hub.docker.com/_/gcc/
variables:
EXEC_NAME: "./mysh" # change this to your executable path as generated by the make file
image: gcc image: gcc
build: build:
...@@ -20,7 +23,7 @@ build: ...@@ -20,7 +23,7 @@ build:
- make - make
artifacts: artifacts:
paths: 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 # depending on your build setup it's most likely a good idea to cache outputs to reduce the build time
cache: cache:
paths: paths:
...@@ -33,4 +36,4 @@ test: ...@@ -33,4 +36,4 @@ test:
- apt update && apt -y install make python3-colorama - apt update && apt -y install make python3-colorama
- apt update && apt -y install make python3-psutil - apt update && apt -y install make python3-psutil
script: script:
- python3 test/test.py ./ultra-cp - python3 test/test.py "$EXEC_NAME"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment