Add step to cleanup afte benchmarks and code analysis

This commit is contained in:
Deda 2024-02-25 13:17:34 +01:00
parent c511f50a9e
commit e4b9ffa9c3

View File

@ -332,12 +332,13 @@ jobs:
release_benchmarks:
name: "Release benchmarks"
# Add Gen7
runs-on: [self-hosted, magneto]
env:
THREADS: 24
MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }}
MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }}
OS: ubuntu-20.04
OS: debian-11
TOOLCHAIN: v5
ARCH: amd
BUILD_TYPE: Release
@ -429,6 +430,15 @@ jobs:
--github-run-number "${{ github.run_number }}" \
--head-branch-name "${{ env.BRANCH_NAME }}"
- name: Stop mgbuild container
if: always()
run: |
./release/package/run2.sh \
--toolchain $TOOLCHAIN \
--os $OS \
--arch $ARCH \
stop --remove
code_analysis:
name: "Code analysis"
runs-on: [self-hosted, gamora]
@ -539,3 +549,12 @@ jobs:
--enterprise-license $MEMGRAPH_ENTERPRISE_LICENSE \
--organization-name $MEMGRAPH_ORGANIZATION_NAME \
test-memgraph clang-tidy --base-branch "${{ env.BASE_BRANCH }}"
- name: Stop mgbuild container
if: always()
run: |
./release/package/run2.sh \
--toolchain $TOOLCHAIN \
--os $OS \
--arch $ARCH \
stop --remove