File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414# See the License for the specific language governing permissions and
1515# limitations under the License.
16+ name : Build CI with different platforms/configs
1617
17- dist : trusty
18-
19- language : java
20-
21- sudo : required
22-
23- env : MAVEN_OPTS="-Xmx2G -XX:MaxPermSize=512M"
24-
25- script :
26- - jdk_switcher use oraclejdk8
27- - mvn -B clean install package -DskipTests=true -Dmaven.javadoc.skip=true
18+ on :
19+ push :
20+ branches :
21+ - ' master'
22+ pull_request :
23+ branches :
24+ - ' master'
2825
26+ jobs :
27+ build :
28+ strategy :
29+ matrix :
30+ java-version : [8, 11]
31+ os : [ubuntu-latest, macos-latest]
32+ runs-on : ${{ matrix.os }}
33+ steps :
34+ - uses : actions/checkout@v2
35+ - uses : actions/setup-java@v1
36+ with :
37+ java-version : ${{ matrix.java-version }}
38+ - run : mvn clean install -DskipTests -Dmaven.javadoc.skip=true
You can’t perform that action at this time.
0 commit comments