Skip to content

Commit 4e85f93

Browse files
committed
Basic self hosted stormweaver runner
This builds and runs postgres and stormweaver on smblade1 with the basic scenario.
1 parent ad80ac2 commit 4e85f93

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

.github/workflows/stormweaver.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Stormweaver
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- TDE_REL_17_STABLE
7+
workflow_dispatch:
8+
9+
jobs:
10+
run:
11+
name: Run
12+
runs-on: self-hosted
13+
steps:
14+
15+
- name: Clone stormweaver
16+
uses: actions/checkout@master
17+
with:
18+
repository: 'percona-lab/stormweaver'
19+
path: 'stormweaver'
20+
submodules: recursive
21+
22+
- name: Update path
23+
run: |
24+
echo "/home/ghrunner/.local/bin" >> "$GITHUB_PATH"
25+
26+
- name: Install/build dependencies
27+
run: |
28+
conan install . --build=missing --settings=build_type=Release
29+
working-directory: stormweaver
30+
31+
- name: Build stormweaver
32+
run: |
33+
conan build . --settings=build_type=Release
34+
working-directory: stormweaver
35+
36+
- name: Clone repository
37+
uses: actions/checkout@v4
38+
with:
39+
submodules: recursive
40+
path: 'postgres'
41+
42+
- name: Build postgres
43+
run: |
44+
ci_scripts/meson-build.sh debugoptimized
45+
working-directory: postgres
46+
47+
- name: Run Stormweaver
48+
run: bin/stormweaver scenarios/basic.lua -i ../../../pginst
49+
working-directory: stormweaver

0 commit comments

Comments
 (0)