]> git.proxmox.com Git - ceph.git/blame - ceph/src/seastar/.circleci/config.yml
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / seastar / .circleci / config.yml
CommitLineData
9f95a23c
TL
1version: 2.1
2jobs:
3 build_and_test:
4 parameters:
1e59de90
TL
5 compiler:
6 description: C++ compiler to build with
7 type: string
8 standard:
9 description: C++ standard to build with
10 type: string
11 mode:
12 description: mode to build and test with
9f95a23c 13 type: string
20effc67 14 machine:
1e59de90
TL
15 image: ubuntu-2004:202201-02
16 resource_class: large
9f95a23c
TL
17 steps:
18 - checkout
19 - run: git submodule sync
20 - run: git submodule update --init
1e59de90 21 - run: echo 'docker run --pids-limit -1 --security-opt seccomp=unconfined --network host --user "$(id -u):$(id -g)" --rm -v $PWD:$PWD -w $PWD docker.io/scylladb/seastar-toolchain:2022-11-29 "$@"' > run; chmod +x run
9f95a23c
TL
22 - run:
23 command: |
1e59de90
TL
24 ./run ./configure.py --compiler << parameters.compiler >> --c++-standard << parameters.standard >>
25 ./run ninja -C build/<< parameters.mode >>
26 ./run ./test.py --mode=<< parameters.mode >>
27
9f95a23c
TL
28workflows:
29 version: 2
30 build_and_test:
31 jobs:
32 - build_and_test:
1e59de90
TL
33 matrix:
34 parameters:
35 compiler: ["clang++-15", "g++-12"]
36 standard: ["20", "17"]
37 mode: ["dev", "debug", "release"]