blob: c994256d36cb64b79c3d68bef939d9b0cb91f2d6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
name: C/C++ CI
on:
schedule:
- cron: "0 1 * * *"
workflow_dispatch:
jobs:
build:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Configure
shell: bash
run: |
cd ../build
rm -rf *
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_TOOLCHAIN_FILE=../ydb/clang.toolchain ../ydb
- name: Build
shell: bash
run: |
cd ../build
ninja
- name: Test
shell: bash
run: |
rm -rf /mnt/d/tmp/*
cd ../build/ydb
TMPDIR=/mnt/d/tmp ctest -j28 --timeout 1200 --force-new-ctest-process --output-on-failure | grep -E "(Test\s*#|grep "mFAIL"$'\33')" --color=never
|