generated from jeonghanlee/env-template
-
Notifications
You must be signed in to change notification settings - Fork 2
50 lines (47 loc) · 1.27 KB
/
macOS.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
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