Skip to content

Commit 6272806

Browse files
Issue (#1): Initial Commit.
1 parent 59fda23 commit 6272806

1 file changed

Lines changed: 58 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Build Only
2+
3+
on:
4+
push:
5+
branches: [ "main", "develop" ]
6+
pull_request:
7+
branches: [ "main", "develop" ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v4
17+
18+
- name: Install dependencies
19+
run: |
20+
sudo apt-get update
21+
sudo apt-get install -y \
22+
postgresql-17 \
23+
postgresql-server-dev-17 \
24+
postgresql-client-17 \
25+
build-essential \
26+
make \
27+
gcc \
28+
libc6-dev \
29+
pkg-config \
30+
libpq-dev
31+
32+
- name: Build pgraft extension
33+
run: |
34+
cd pgraft
35+
make clean
36+
make
37+
echo "pgraft extension built successfully"
38+
39+
- name: Build ramd daemon
40+
run: |
41+
cd ramd
42+
make clean
43+
make
44+
echo "ramd daemon built successfully"
45+
46+
- name: Build ramctrl utility
47+
run: |
48+
cd ramctrl
49+
make clean
50+
make
51+
echo "ramctrl utility built successfully"
52+
53+
- name: Verify builds
54+
run: |
55+
test -f pgraft/pgraft.dylib && echo "pgraft.dylib exists" || echo "pgraft.dylib missing"
56+
test -f ramd/ramd && echo "ramd exists" || echo "ramd missing"
57+
test -f ramctrl/ramctrl && echo "ramctrl exists" || echo "ramctrl missing"
58+
echo "All builds completed successfully"

0 commit comments

Comments
 (0)