Feel free to join the next Helmholtz Hacky Hour #26 on Wednesday, April 21, 2021 from 2PM to 3PM!

Commit bc59a083 authored by Adam Reichold's avatar Adam Reichold

Extend CI setup to build and package Java code in addition to extracting it.

parent 411cfec3
Pipeline #12010 passed with stage
in 58 seconds
image: rust
image: gradle:6.7.1-jdk15
variables:
YARNER_VERSION: 0.1.3
before_script:
- export CARGO_HOME="$CI_PROJECT_DIR/cargo"
- export PATH="$CARGO_HOME/bin:$PATH"
- cargo install --git https://github.com/mlange-42/yarner.git yarner --features bin
- wget -O- https://github.com/mlange-42/yarner/releases/download/${YARNER_VERSION}/yarner-${YARNER_VERSION}-linux.tar.gz | tar xz
- export PATH="$PWD/yarner:$PATH"
build:
script:
- yarner
- cd code
- gradle build
- mv build/distributions/*.zip ..
- rm -rf .gradle build
artifacts:
paths:
- code/
- docs/
- code/
- "*.zip"
......@@ -72,7 +72,7 @@ import com.artemis.*;
public class Main {
public static void main(String[] args) {
WorldConfiguration setup = new WorldConfigurationBuilder()
var setup = new WorldConfigurationBuilder()
.with(new RandomWalkSystem())
.build()
.register(new Randomness(0));
......
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