diff options
| author | jc0b <j@jc0b.computer> | 2020-07-08 17:00:44 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-08-24 19:48:00 +0200 |
| commit | 0e6283dafb3378a4e86de330f3f53aa100b757de (patch) | |
| tree | 045514ce4e8e708e9fe3a6d505dfaf0353773809 /.github/workflows/simulator.yml | |
| parent | 5d5b32abb37330f1de5b49dfe639bb65b358f6f1 (diff) | |
| parent | b30906bbe0d5f343b337a80de1b4b70ebf288331 (diff) | |
Merge branch 'master' of github.com:atlarge-research/opendc-dev
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 |
