summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2020-07-07 18:21:12 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-08-24 19:47:55 +0200
commitb39251fa60e0078e12f8adaa2e63a64544952ec8 (patch)
treeff77c0868eda46dcc2357b4022fcd63e462f5214
parent232d27805eb598290f75c170d912a86c6b96afed (diff)
Add config for simulator CI
-rw-r--r--.github/workflows/simulator.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/simulator.yml b/.github/workflows/simulator.yml
new file mode 100644
index 00000000..096e70c5
--- /dev/null
+++ b/.github/workflows/simulator.yml
@@ -0,0 +1,34 @@
+name: Simulator
+
+on: [push]
+
+defaults:
+ 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