summaryrefslogtreecommitdiff
path: root/.github/workflows/simulator.yml
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-07-20 12:44:04 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-08-24 19:48:12 +0200
commit53e60ccf0636e0076837d66a7dbea527e3b6e98d (patch)
tree041f83ae919d7ee9b5691a1666dbb61af26967d0 /.github/workflows/simulator.yml
parentd8479e7e3744b8d1d31ac4d9f972e560eacd2cf8 (diff)
parent2a5f50e591f5e9c1da5db2f2011c779a88121675 (diff)
Merge pull request #9 from atlarge-research/feat/opendc-node
Add simulator integration
Diffstat (limited to '.github/workflows/simulator.yml')
-rw-r--r--.github/workflows/simulator.yml60
1 files changed, 30 insertions, 30 deletions
diff --git a/.github/workflows/simulator.yml b/.github/workflows/simulator.yml
index 887d4af6..8174ae3a 100644
--- a/.github/workflows/simulator.yml
+++ b/.github/workflows/simulator.yml
@@ -1,37 +1,37 @@
name: Simulator
on:
- push:
- paths:
- - 'simulator/*'
+ push:
+ paths:
+ - 'simulator/**'
defaults:
- run:
- working-directory: simulator
+ run:
+ working-directory: simulator
jobs:
- build:
- runs-on: ${{ matrix.os }}
- strategy:
- matrix:
- os: [ubuntu-latest]
- java: [14]
- steps:
- - name: Checkout repository
- uses: actions/checkout@v2
- - name: Set up JDK
- uses: actions/setup-java@v1
- with:
- java-version: ${{ matrix.java }}
- - name: Grant execute permission for gradlew
- run: chmod +x gradlew
- - uses: actions/cache@v1
- with:
- path: ~/.gradle/caches
- key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
- restore-keys: |
- ${{ runner.os }}-gradle-
- - name: Build with Gradle
- run: ./gradlew assemble
- - name: Check with Gradle
- run: ./gradlew check --info
+ build:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [ubuntu-latest]
+ java: [14]
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v2
+ - name: Set up JDK
+ uses: actions/setup-java@v1
+ with:
+ java-version: ${{ matrix.java }}
+ - name: Grant execute permission for gradlew
+ run: chmod +x gradlew
+ - uses: actions/cache@v1
+ with:
+ path: ~/.gradle/caches
+ key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
+ restore-keys: |
+ ${{ runner.os }}-gradle-
+ - name: Build with Gradle
+ run: ./gradlew assemble
+ - name: Check with Gradle
+ run: ./gradlew check --info