Test centos7_27 #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI_centos7 | |
on: [push] | |
jobs: | |
build: | |
name: Build OS ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
container: 'centos:centos7' | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Set-up Maven | |
run: | | |
yum install -y wget | |
wget https://dlcdn.apache.org/maven/maven-3/3.9.4/binaries/apache-maven-3.9.4-bin.tar.gz --no-check-certificate | |
tar xzvf apache-maven-3.9.4-bin.tar.gz | |
- name: Checkout sources | |
uses: actions/checkout@v1 | |
- name: Build with Maven | |
env: | |
PATH: ${{ env.PATH }}:$GITHUB_WORKSPACE/apache-maven-3.9.4/bin | |
run: mvn --batch-mode package | |