-
-
Notifications
You must be signed in to change notification settings - Fork 0
84 lines (68 loc) · 1.75 KB
/
install.yml
File metadata and controls
84 lines (68 loc) · 1.75 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
name: Test install
permissions:
contents: read
on:
push:
branches:
- main
paths:
- 'src/**'
- 'include/**'
- 'tools/src/**'
- 'Makefile'
- '*.mk'
- '.github/workflows/install.yml'
pull_request:
paths:
- 'src/**'
- 'include/**'
- 'tools/src/**'
- 'Makefile'
- '*.mk'
- '.github/workflows/install.yml'
jobs:
install:
runs-on: ubuntu-latest
env:
CC: gcc
XCHANGE: ../xchange
REDISX: ../redisx
SMAXLIB: ../smax-clib
steps:
- name: install requirements
run: |
sudo apt-get update -q -y
sudo apt-get install libpq-dev libsystemd-dev libpopt-dev doxygen
- name: Check out smax-clib
uses: actions/checkout@v6
- name: Check out xchange
uses: actions/checkout@v6
with:
repository: Sigmyne/xchange
path: xchange
- name: Check out RedisX
uses: actions/checkout@v6
with:
repository: Sigmyne/redisx
path: redisx
- name: Check out smax-clib
uses: actions/checkout@v6
with:
repository: Sigmyne/smax-clib
path: smax-clib
- name: Build xchange dependency
run: make -C xchange shared
- name: Install xchange dependency
run: sudo make -C xchange install
- name: Build RedisX dependency
run: make -C redisx shared
- name: Install RedisX dependency
run: sudo make -C redisx install
- name: Build smax-clib dependency
run: make -C smax-clib shared
- name: Install smax-clib dependency
run: sudo make -C smax-clib install
- name: Build smax-postgres distro
run: make distro
- name: Install smax-postgres in default location
run: sudo make install