Add example distro to ci
MODIFY
.github/workflows/ci.yaml
.github/workflows/ci.yaml
@@ -32,6 +32,25 @@ jobs:
timeout_minutes: 90
max_attempts: 3
+ example-distro:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Set up JDK 11 for running checks
+ uses: actions/setup-java@v1
+ with:
+ java-version: 11
+
+ - name: Restore cache
+ uses: burrunan/gradle-cache-action@v1.6
+ with:
+ job-id: jdk11
+
+ - name: Build
+ run: ./gradlew build --stacktrace
+ working-directory: examples/distro
+
test:
runs-on: ubuntu-latest
strategy:

MODIFY
.github/workflows/pr.yaml
.github/workflows/pr.yaml
@@ -32,6 +32,25 @@ jobs:
path: /tmp/deadlock-detector-*
if-no-files-found: ignore
+ example-distro:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Set up JDK 11 for running checks
+ uses: actions/setup-java@v1
+ with:
+ java-version: 11
+
+ - name: Restore cache
+ uses: burrunan/gradle-cache-action@v1.6
+ with:
+ job-id: jdk11
+
+ - name: Build
+ run: ./gradlew build --stacktrace
+ working-directory: examples/distro
+
test:
runs-on: ubuntu-latest
strategy:

Add example distro to ci (#2292)