CSE320/.gitlab-ci.yml

24 lines
445 B
YAML
Raw Normal View History

image: hwrunner:latest
variables:
GIT_SSL_NO_VERIFY: "true"
EXEC: mush
HW_DIR: hw4
before_script:
- make clean all -C ${HW_DIR}
stages:
- build
- run
- test
build:
stage: build
script:
- echo "Build done"
run:
stage: run
script:
- cd ${HW_DIR} && bin/${EXEC} < rsrc/run_test.mush
test:
stage: test
script:
- cd ${HW_DIR} && bin/${EXEC}_tests -S --verbose=0 --timeout 5