diff options
| author | Georgios Andreadis <info@gandreadis.com> | 2020-07-07 19:35:01 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-08-24 19:47:57 +0200 |
| commit | 5d2ddb814da1fc299792fde2e09a04f600b25dd7 (patch) | |
| tree | e203dce5ae4fbe79e306575db5afa3277182a042 /.github/workflows/simulator.yml | |
| parent | b71a7714639a5d828e914a65357bef6c471dfad0 (diff) | |
| parent | ec99201cce87da30f0ffdda57d78853001a34a64 (diff) | |
Merge pull request #6 from atlarge-research/chore/simulator-ci
Add Github Actions configuration for simulator
Diffstat (limited to '.github/workflows/simulator.yml')
| -rw-r--r-- | .github/workflows/simulator.yml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/.github/workflows/simulator.yml b/.github/workflows/simulator.yml new file mode 100644 index 00000000..887d4af6 --- /dev/null +++ b/.github/workflows/simulator.yml @@ -0,0 +1,37 @@ +name: Simulator + +on: + push: + paths: + - 'simulator/*' + +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 |
