Commit e71731fe authored by I-Al-Istannen's avatar I-Al-Istannen
Browse files

Run test against all compilers for PRs

This hopefully helps Paul judge whether a test is useful or not, as the
results of the various compilers are directly visible.
parent 97a5579a
default:
image: mjtest
stages:
- run
variables:
GRADLE_USER_HOME: "gradle-cache"
gruppen:
stage: run
only:
- merge_requests
# Cache dependencies
cache:
key: "dependency_cache"
paths:
- gradle-cache
- repository
parallel:
matrix:
- GITHUB:
- https://github.com/Firmwehr/gentle
- https://github.com/compilerpraktikum/compiler
- https://github.com/larsk21/compiler-minijava
- https://github.com/iComputerfreak/DerCompiler
- https://github.com/CompPrakt21/Compiler
script:
- export GRADLE_USER_HOME="$PWD/gradle-cache"
- export MAVEN_OPTS="-Dmaven.repo.local=$PWD/.repository"
- git clone $GITHUB /compiler-under-test
- /compiler-under-test/build
- ln -s "$PWD" "/mjtest/tests"
- /mjtest/mjt.py lexer /compiler-under-test/run
tags:
- alive
Supports Markdown
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