Skip to content

Commit 183b818

Browse files
committed
ci scripts
1 parent 8562354 commit 183b818

File tree

5 files changed

+86
-0
lines changed

5 files changed

+86
-0
lines changed

ci/check_java.sh

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
#
6+
# This script is for running inside the docker container
7+
#
8+
9+
cd /workspace/bc-java
10+
source ci/common.sh
11+
12+
13+
export JAVA_HOME=`openjdk_8`
14+
export PATH=$JAVA_HOME/bin:$PATH
15+
export PATH=$PATH:`gradle-bin-6`
16+
17+
gradle check -x test;
18+
19+
20+
21+

ci/common.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8

ci/test_11.sh

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
#
6+
# This script is for running inside the docker container
7+
#
8+
9+
cd /workspace/bc-java
10+
source ci/common.sh
11+
12+
13+
export JAVA_HOME=`openjdk_11`
14+
export PATH=$JAVA_HOME/bin:$PATH
15+
export PATH=$PATH:`gradle-bin-6`
16+
17+
gradle -stacktrace clean build
18+
19+
20+
21+

ci/test_17.sh

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
#
6+
# This script is for running inside the docker container
7+
#
8+
9+
cd /workspace/bc-java
10+
source ci/common.sh
11+
12+
13+
export JAVA_HOME=`openjdk_17`
14+
export PATH=$JAVA_HOME/bin:$PATH
15+
export PATH=$PATH:`gradle-bin-6`
16+
17+
gradle -stacktrace clean build
18+
19+
20+
21+

ci/test_8.sh

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
#
6+
# This script is for running inside the docker container
7+
#
8+
9+
cd /workspace/bc-java
10+
source ci/common.sh
11+
12+
13+
export JAVA_HOME=`openjdk_8`
14+
export PATH=$JAVA_HOME/bin:$PATH
15+
export PATH=$PATH:`gradle-bin-6`
16+
17+
gradle -stacktrace clean build
18+
19+
20+
21+

0 commit comments

Comments
 (0)