Skip to content

Commit 2d6251c

Browse files
committed
Add circleci config.yml
1 parent 5568205 commit 2d6251c

File tree

2 files changed

+33
-2
lines changed

2 files changed

+33
-2
lines changed

.circleci/config.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
version: 2.1
2+
3+
machine: true
4+
5+
jobs:
6+
build-ubuntu:
7+
docker:
8+
- image: ghcr.io/romange/ubuntu-dev:22
9+
steps:
10+
- checkout
11+
- run:
12+
name: Set up environment
13+
environment:
14+
BUILD_TYPE: Debug
15+
command: |
16+
git submodule update --init --recursive
17+
cmake -B build -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -GNinja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
18+
- run:
19+
name: Build & Test
20+
command: |
21+
cd build && pwd
22+
ninja -j4 src/all
23+
ctest -V -L DFLY
24+
25+
26+
27+
# Orchestrate our job run sequence
28+
workflows:
29+
build_and_test:
30+
jobs:
31+
- build-ubuntu

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: ci-tests
22

33
on:
4-
push:
5-
# branches: [ main ]
4+
# push:
5+
# branches: [ main ]
66
pull_request:
77
branches: [ main ]
88
workflow_dispatch:

0 commit comments

Comments
 (0)