Skip to content

Commit d486389

Browse files
authored
merge examples into the repository (#23)
* move examples into this repo * update ci * update readme in examples
1 parent 08ffae0 commit d486389

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+509
-2
lines changed

.github/workflows/main.yml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
args: '--set-exit-if-changed'
2323

2424
- name: Prepare test env
25-
run: script/prepare-test-env.sh
25+
run: client/script/prepare-test-env.sh
2626

2727
- name: Set up JDK 11
2828
uses: actions/setup-java@v2
@@ -34,4 +34,32 @@ jobs:
3434
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
3535

3636
- name: Build and test with Gradle
37-
run: ./gradlew build
37+
run: cd client && ./gradlew build
38+
39+
build-examples:
40+
runs-on: ubuntu-latest
41+
42+
steps:
43+
- uses: actions/checkout@v2
44+
45+
- name: check code format
46+
uses: axel-op/googlejavaformat-action@v3
47+
with:
48+
version: '1.10.0'
49+
skipCommit: true
50+
args: '--set-exit-if-changed'
51+
52+
- name: Prepare env
53+
run: examples/start-hstreamdb.sh
54+
55+
- name: Set up JDK 11
56+
uses: actions/setup-java@v2
57+
with:
58+
java-version: '11'
59+
distribution: 'adopt'
60+
61+
- name: Validate Gradle wrapper
62+
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
63+
64+
- name: Build and run examples
65+
run: cd examples && ./gradlew build
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)