-
Notifications
You must be signed in to change notification settings - Fork 130
42 lines (38 loc) · 1.22 KB
/
nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: DJL Demo Nightly test
on:
schedule:
- cron: '0 3 * * *'
workflow_dispatch:
jobs:
compile-test:
if: github.repository == 'deepjavalibrary/djl-demo'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: 11
- name: Compile all gradle projects
run: ./gradlew build
- name: Compile Apache Beam
working-directory: apache-beam/ctr-prediction
run: mvn package
- name: Compile EMR projects
working-directory: aws
run: |
cd emr-distributed-inference/dataprocess && ./gradlew build && cd ../../
cd emr-distributed-inference/image-classification-gpu && ./gradlew build && cd ../../
- name: Compile Apache Camel
working-directory: camel-djl
run: mvn package
- name: Compile graalvm
working-directory: graalvm
run: ./mvnw package
- name: Compile Quarkus
working-directory: quarkus
run: |
cd example && ./mvnw package && cd ..
cd extension && mvn package install && cd ..
cd extension-example && ./mvnw package