generated from jeonghanlee/env-template
-
Notifications
You must be signed in to change notification settings - Fork 2
51 lines (46 loc) · 1.21 KB
/
ubuntu.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: Ubuntu Latest
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
Ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '18.0.2'
- name: Install required Packages
run: sudo apt install -y make tree git wget
- 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" >> configure/CONFIG_COMMON.local
echo "MAVEN_PATH:=/usr/bin" >> configure/CONFIG_COMMON.local
make patch
make vars
- name: Build Phoebus
run: |
make build.phoebus
make prop.phoebus
make install.phoebus
# - name: BUild Alarm Trio
# run: |
# make build
# make sd_config
# make install
# - name: Environment Check
# run: make exist
# - name: Build Test run
# run:
# bash scripts/build_test.sh all