Since it is a rare occurance that the memgraph hangs after some time this workflow will hopefully catch it.
44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
name: BugTracking
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 * * * *"
|
|
|
|
jobs:
|
|
debug_benchmarks:
|
|
name: "Debug benchmarks"
|
|
runs-on: [self-hosted, Linux, X64, Diff, Gen7]
|
|
env:
|
|
THREADS: 24
|
|
MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }}
|
|
MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }}
|
|
|
|
steps:
|
|
- name: Set up repository
|
|
uses: actions/checkout@v3
|
|
with:
|
|
# Number of commits to fetch. `0` indicates all history for all
|
|
# branches and tags. (default: 1)
|
|
fetch-depth: 0
|
|
|
|
- name: Build release binaries
|
|
run: |
|
|
# Activate toolchain.
|
|
source /opt/toolchain-v4/activate
|
|
|
|
# Initialize dependencies.
|
|
./init
|
|
|
|
# Build only memgraph release binaries.
|
|
cd build
|
|
cmake -DCMAKE_BUILD_TYPE=DebugWithReleaseInfo ..
|
|
make -j$THREADS
|
|
|
|
- name: Run macro benchmarks
|
|
run: |
|
|
cd tests/macro_benchmark
|
|
./harness QuerySuite MemgraphRunner \
|
|
--groups aggregation 1000_create unwind_create dense_expand match \
|
|
--no-strict
|