1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00

Add circleci config.yml

This commit is contained in:
Roman Gershman 2022-05-05 13:38:22 +03:00
parent 5568205b34
commit 2d6251ca83
2 changed files with 33 additions and 2 deletions

31
.circleci/config.yml Normal file
View file

@ -0,0 +1,31 @@
version: 2.1
machine: true
jobs:
build-ubuntu:
docker:
- image: ghcr.io/romange/ubuntu-dev:22
steps:
- checkout
- run:
name: Set up environment
environment:
BUILD_TYPE: Debug
command: |
git submodule update --init --recursive
cmake -B build -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -GNinja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
- run:
name: Build & Test
command: |
cd build && pwd
ninja -j4 src/all
ctest -V -L DFLY
# Orchestrate our job run sequence
workflows:
build_and_test:
jobs:
- build-ubuntu

View file

@ -1,8 +1,8 @@
name: ci-tests
on:
push:
# branches: [ main ]
# push:
# branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch: