Move paint_all_new to backend.c

Fix build with -Dnew_backends=false. And more build test for this case.

Fixes #83

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-01-02 20:34:07 +00:00
parent 34eb14fb0f
commit 82e8b09d56
5 changed files with 131 additions and 119 deletions

View File

@ -27,7 +27,7 @@ commands:
- ".git"
- run:
name: config
command: CC=<< parameters.cc >> meson << parameters.build-config >> -Dnew_backends=true --werror . build
command: CC=<< parameters.cc >> meson << parameters.build-config >> --werror . build
- run:
name: build
command: ninja -C build
@ -43,46 +43,57 @@ jobs:
<<: *defaults
steps:
- build:
build-config: -Dbuild_docs=true
build-config: -Dbuild_docs=true -Dnew_backends=true
minimal:
<<: *defaults
steps:
- build:
build-config: -Dopengl=false -Ddbus=false -Dregex=false -Dconfig_file=false
build-config: -Dopengl=false -Ddbus=false -Dregex=false -Dconfig_file=false -Dnew_backends=true
nogl:
<<: *defaults
steps:
- build:
build-config: -Dopengl=false
build-config: -Dopengl=false -Dnew_backends=true
noregex:
<<: *defaults
steps:
- build:
build-config: -Dregex=false
build-config: -Dregex=false -Dnew_backends=true
clang_basic:
<<: *defaults
steps:
- build:
cc: clang-6.0
build-config:
build-config: -Dnew_backends=true
clang_minimal:
<<: *defaults
steps:
- build:
cc: clang-6.0
build-config: -Dopengl=false -Ddbus=false -Dregex=false -Dconfig_file=false
build-config: -Dopengl=false -Ddbus=false -Dregex=false -Dconfig_file=false -Dnew_backends=true
clang_nogl:
<<: *defaults
steps:
- build:
cc: clang-6.0
build-config: -Dopengl=false
build-config: -Dopengl=false -Dnew_backends=true
clang_noregex:
<<: *defaults
steps:
- build:
cc: clang-6.0
build-config: -Dregex=false
build-config: -Dregex=false -Dnew_backends=true
clang_basic_nonew:
<<: *defaults
steps:
- build:
cc: clang-6.0
build-config:
basic_nonew:
<<: *defaults
steps:
- build:
build-config: -Dnew_backends=true
workflows:
all_builds: