From 602cc71393d293dca3c6e2eca57906049167550e Mon Sep 17 00:00:00 2001 From: Wey Gu Date: Fri, 24 May 2024 13:15:57 +0800 Subject: [PATCH] ci: non-debug mode by default for baremetal --- .github/workflows/pr.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 16fa09c..8d6865b 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -13,7 +13,7 @@ on: jobs: build-and-lint-test-bare-metal: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 @@ -32,8 +32,8 @@ jobs: - name: Build and Install NebulaGraph-Lite run: pip3 install . - - name: Dry run `nebulagraph start` - run: nebulagraph --debug start --cleanup + - name: Dry run `nebulagraph start`, in case of error, will run with debug mode + run: nebulagraph start --cleanup || nebulagraph --debug start --cleanup # error: Could not open the file: /sys/fs/cgroup/memory.max, seems cgroup version detection failed here # let's skip this test for now