From b39251fa60e0078e12f8adaa2e63a64544952ec8 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Tue, 7 Jul 2020 18:21:12 +0200 Subject: Add config for simulator CI --- .github/workflows/simulator.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/simulator.yml (limited to '.github/workflows') 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 -- cgit v1.2.3