Skip to content

Commit 10d1e7d

Browse files
committed
Add benchmark-build
1 parent 54bba4d commit 10d1e7d

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

.github/workflows/bolt-build-base.yml renamed to .github/workflows/bolt-build-base/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ runs:
44
using: "composite"
55
steps:
66
- name: Add CI conan remote
7+
shell: bash
78
run: |
89
source /root/venv/bin/activate
910
conan remote add --index=0 ci http://conanserver:9300
1011
1112
- name: Install Bolt dependencies
13+
shell: bash
1214
run: |
1315
source /root/venv/bin/activate
1416
./scripts/install-bolt-deps.sh

.github/workflows/build-test.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
steps:
3131
- name: Checkout code
3232
uses: actions/checkout@v6
33-
- id: Environment Setup
34-
uses: ./.github/workflows/bolt-build-base.yml
33+
- id: env-setup
34+
uses: ./.github/workflows/bolt-build-base
3535

3636
- name: Bolt Build
3737
run: |
@@ -42,3 +42,25 @@ jobs:
4242
run: |
4343
source /root/venv/bin/activate
4444
make unittest_${{ matrix.build_type }}
45+
46+
benchmarks-build:
47+
runs-on: [ self-hosted, medium ]
48+
container:
49+
image: bolt-registry:5000/bolt-ci:latest
50+
volumes:
51+
- /data/ccache-data:/data/ccache-data
52+
services:
53+
conanserver:
54+
image: bolt-registry:5000/conan-server:latest
55+
volumes:
56+
- /data/conan-server-data:/var/conan/data
57+
steps:
58+
- name: Checkout code
59+
uses: actions/checkout@v6
60+
- id: env-setup
61+
uses: ./.github/workflows/bolt-build-base
62+
63+
- name: Bolt Build
64+
run: |
65+
source /root/venv/bin/activate
66+
make benchmarks-build

0 commit comments

Comments
 (0)