Skip to content

Commit 9b63ea0

Browse files
committed
Implement CI for the Java part of this repository
1 parent fc4f804 commit 9b63ea0

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/java.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Build Java project (CI for the C++ part not implemented, yet)
2+
3+
on: push
4+
5+
env:
6+
JAVA_VERSION: '8'
7+
8+
jobs:
9+
build:
10+
runs-on: windows-latest
11+
environment: dev
12+
steps:
13+
- name: 'Checkout GitHub Action'
14+
uses: actions/checkout@v3
15+
16+
- name: Setup Java Sdk ${{ env.JAVA_VERSION }}
17+
uses: actions/setup-java@v1
18+
with:
19+
java-version: ${{ env.JAVA_VERSION }}
20+
21+
- name: 'Clear'
22+
shell: cmd
23+
run: |
24+
CALL run\clear.bat
25+
26+
- name: 'Build Java'
27+
shell: cmd
28+
run: |
29+
CALL run\build_java.bat
30+
31+
- name: 'Build Documentation'
32+
shell: cmd
33+
run: |
34+
CALL run\build_doc.bat
35+
36+
- name: 'Build Samples'
37+
shell: cmd
38+
run: |
39+
CALL run\build_samples.bat
40+

0 commit comments

Comments
 (0)