Merge pull request #18 from jeonghanlee/master #2
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: Rocky8 | |
on: | |
push: | |
branches: [ master ] | |
paths-ignores: | |
- '*.md' | |
- 'examples/*.bash' | |
- 'docker/**' | |
- '.github/workflows/ubuntu.yml' | |
- '.github/workflows/docker.yml' | |
- '.github/workflows/ubuntu.yml' | |
- '.github/workflows/linter.yml' | |
pull_request: | |
branches: [ master ] | |
jobs: | |
Rocky8: | |
runs-on: ubuntu-latest | |
container: rockylinux/rockylinux:8 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '18.0.2' | |
- name: Install required packages | |
run: | | |
dnf update -y | |
dnf install -y git make sudo which maven wget tree | |
- name: Check JAVA configuration | |
run: | | |
which java | |
which mvn | |
- name: Elasticsearch | |
run: | | |
make install.esrpm | |
make conf.es | |
make conf.es.show | |
- name: Configuration | |
run: | | |
make init | |
echo "JAVA_HOME:=${JAVA_HOME}" > ./configure/CONFIG_COMMON.local | |
echo "JAVA_PATH:=${JAVA_HOME}/bin" >> ./configure/CONFIG_COMMON.local | |
echo "MAVEN_HOME:=/usr/" >> ./configure/CONFIG_COMMON.local | |
echo "MAVEN_PATH:=/usr/bin" >> ./configure/CONFIG_COMMON.local | |
make vars | |
make conf | |
- name: Build | |
run: | | |
make build | |
make cf_install | |
- name: Environment Check | |
run: make exist | |