This repository has been archived by the owner on Apr 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
49 lines (40 loc) · 1.75 KB
/
E3Building.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
name: E3 Building
on: [push, pull_request]
jobs:
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, ubuntu-18.04, ubuntu-16.04 ]
env:
BASE: 7.0.3.1
REQUIRE: 3.1.2
BASE_TAG: 7.0.3.1
E3_PATH: /epics
MODULES: ctpieao
SESSION: "$BASE-$REQUIRE"
steps:
- name: Install the packages for E3
run: |
sudo apt update
sudo apt install -y linux-headers-$(uname -r) build-essential coreutils ipmitool libtool automake tclx tree screen re2c darcs libreadline-dev libxt-dev x11proto-print-dev libxmu-headers libxmu-dev libxpm-dev libxmuu-dev libxmuu1 libpcre++-dev python-dev libnetcdf-dev libhdf5-dev libpng-dev libbz2-dev libxml2-dev libusb-dev libusb-1.0-0-dev libudev-dev libsnmp-dev libraw1394-dev libboost-dev libboost-regex-dev libboost-filesystem-dev libopencv-dev libtirpc-dev libblosc-dev libtiff-dev
git config --global user.email "jeonghan.lee@jeonghan.com"
git config --global user.name "jeonghanlee"
- uses: actions/checkout@v1
- name: Configure E3
run: |
bash .ci/before_install_conf.bash
bash e3_building_config.bash -y -t "$E3_PATH" -b "$BASE" -r "$REQUIRE" -c "$BASE_TAG" setup
- name: Install E3 Base and Require
run: |
bash e3.bash base
bash e3.bash req
- name: Install E3 Modules
run: |
bash e3.bash -"$MODULES" mod
- name: Check the Compiled Modules through an IOC
run: |
bash e3.bash -"$MODULES" cmd
source "$E3_PATH"/base-"$BASE"/require/"$REQUIRE"/bin/setE3Env.bash
bash .ci/screen.bash "$SESSION" .cmd