File tree 1 file changed +26
-0
lines changed
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 40
40
- name : Run lint checks
41
41
run : |
42
42
mvn compiler:compile -Pdev,jdk11 -B -U -e
43
+ quick-build-jdk8 :
44
+ if : github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'CI build')
45
+ runs-on : ubuntu-latest
46
+ container : centos:7
47
+ steps :
48
+ - name : Checkout repository
49
+ uses : actions/checkout@v1
50
+ - name : Install environment
51
+ run : |
52
+ yum -y update
53
+ yum -y install centos-release-scl-rh epel-release
54
+ yum -y install java-1.8.0-openjdk-devel devtoolset-7
55
+ echo Downloading Maven
56
+ curl -L https://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz -o $HOME/apache-maven-3.6.3-bin.tar.gz
57
+ tar xzf $HOME/apache-maven-3.6.3-bin.tar.gz -C /opt/
58
+ ln -sf /opt/apache-maven-3.6.3/bin/mvn /usr/bin/mvn
59
+ - name : Build project
60
+ run : |
61
+ source scl_source enable devtoolset-7 || true
62
+ export JAVA_HOME=$(dirname $(dirname $(readlink $(readlink $(which javac)))))
63
+ echo $JAVA_HOME
64
+ mvn -version
65
+ mvn clean install -Pdev -B -U -e -Dlint.skip=true
66
+ - name : Run lint checks
67
+ run : |
68
+ mvn compiler:compile -Pdev -B -U -e
43
69
check-format :
44
70
if : github.event_name == 'pull_request'
45
71
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments