Skip to content

optimized code

optimized code #113

Workflow file for this run

name: build
on:
push:
branches: [ master, 3.x ]
pull_request:
branches: [ master, 3.x ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# test against latest update of each major Java version, as well as specific updates of LTS versions:
java: [6, 7, 8]
steps:
- uses: actions/checkout@v2
- name: Check format
run: ls -la && sh ./check_format.sh
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build with Maven 3.2.5
run: wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip -P ~/temp
&& unzip -q ~/temp/apache-maven-3.2.5-bin.zip -d ~/temp
&& export M2_HOME=~/temp/apache-maven-3.2.5
&& export PATH=$M2_HOME/bin:$PATH
&& cp ./tools/ci/.settings.xml $HOME/.m2/settings.xml
&& mvn -version
&& mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -U -e
&& sh ./check_format.sh
&& mvn test cobertura:cobertura
- name: Codecov
uses: codecov/codecov-action@v1