Commit 20dd5e3e authored by Mart Lubbers's avatar Mart Lubbers
Browse files

Merge branch 'ci-examples' into 'master'

CI example and test the test programs

See merge request !5
parents dbba41b2 2e09a0de
Pipeline #48462 passed with stages
in 22 seconds
stages:
- build
- test
build:
image: openjdk:alpine
before_script:
- apk add --no-cache apache-ant
script:
- ant
artifacts:
paths:
- ssm.zip
stage: build
image: openjdk:alpine
before_script:
- apk add --no-cache apache-ant
script:
- ant
artifacts:
paths:
- ssm.zip
test:
stage: test
image: openjdk:alpine
before_script:
- unzip ssm.zip
script:
- "for test in tests/*.ssm; do java -jar ssm/ssm.jar --cli --file $test; done"
test:
image: openjdk:alpine
before_script:
- apk add --no-cache curl
- curl -LSs https://gitlab.science.ru.nl/compilerconstruction/ssm/builds/artifacts/master/raw/ssm.zip?job=build > ssm.zip
- unzip ssm.zip
script:
- "for test in tests/*.ssm; do java -jar ssm/ssm.jar --cli --file $test; done"
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