Skip to content

Update README.md

Update README.md #112

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Simulatte build CI/CD flow
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
cache: maven
- name: Build SimuLatte-Online with Maven
#working-directory: dev
run: |
cd ./dev
mvn clean install -DskipTests=true -Ponline | grep -v 'Download.*'
- name: Build SimuLatte-Offline with Maven
#working-directory: dev
run: |
cd ./dev
mvn clean install -DskipTests=true -Poffline | grep -v 'Download.*'
run:
needs: build
runs-on: ubuntu-latest
steps:
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
cache: maven
#- name: Run SimuLatte-Online
# run: |
# cd ./dev/simulatte-online/target
# java -jar -Xms4096M -Xmx10g simulatte-online.jar
#- name: Run SimuLatte-Offline
# run: |
# cd ./dev/simulatte-offline/target
# java -jar -Xms4096M -Xmx10g simulatte-offline.jar
- name: Simulation test in offline mode
run: java -Xms2048m -Xmx10g -jar ./dev/simulatte-offline/target/simulatte-offline.jar --simulation.spec.uri=./data/schema/simulationSpec.json