Merge branch 'master' of github.com:jeonghanlee/phoebus-env #19
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: macOS build | |
on: | |
push: | |
branches: [master] | |
paths-ignores: | |
- '**.md' | |
- '.github/workflows/build.yml' | |
pull_request: | |
branches: [master] | |
jobs: | |
macOS12: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '18.0.2' | |
- name: Install required Packages | |
run: brew install make tree git wget coreutils | |
- name: Check JAVA configuration | |
run: | | |
which java | |
which mvn | |
- 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/local" >> configure/CONFIG_COMMON.local | |
echo "MAVEN_PATH:=/usr/local/bin" >> configure/CONFIG_COMMON.local | |
make patch | |
- name: Build Phoebus | |
run: | | |
make build.phoebus | |
make prop.phoebus | |
make install.phoebus | |
- name: Build Application | |
run: | | |
make dmgapp | |
make zipapp | |
make tarapp | |
- name: Environment Check | |
run: | | |
make exist | |
ls -ltah |