aboutsummaryrefslogtreecommitdiffstats
path: root/.yatr.yml
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-05-07 00:13:44 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-05-07 00:13:44 +0200
commit9543748bda8bfcad015243a9d312cf203431b29f (patch)
tree29455f665fe933cd76ac6c1c90b9916898f9050d /.yatr.yml
parent0a7f6a2659b363e1d68202b9fd863b57f7420f4f (diff)
downloadblogc-9543748bda8bfcad015243a9d312cf203431b29f.tar.gz
blogc-9543748bda8bfcad015243a9d312cf203431b29f.tar.bz2
blogc-9543748bda8bfcad015243a9d312cf203431b29f.zip
build: use yatr
Diffstat (limited to '.yatr.yml')
-rw-r--r--.yatr.yml57
1 files changed, 57 insertions, 0 deletions
diff --git a/.yatr.yml b/.yatr.yml
new file mode 100644
index 0000000..8f7e359
--- /dev/null
+++ b/.yatr.yml
@@ -0,0 +1,57 @@
+default_configure_args:
+ - "CFLAGS=-Wall -g -O0"
+ - --disable-silent-rules
+ - --disable-valgrind
+ - --enable-ronn
+ - --enable-tests
+ - --enable-git-receiver
+ - --enable-make
+ - --enable-runserver
+
+targets:
+ dist-srpm:
+ archive_filter: "*.src.rpm"
+ clang-analyzer:
+ configure_args:
+ - --enable-silent-rules
+ task_script: build-aux/clang-analyzer.sh
+ archive_extract_filter: "*.tar.xz"
+ valgrind:
+ configure_args:
+ - --enable-valgrind
+ check-make-embedded:
+ configure_args:
+ - --disable-git-receiver
+ - --disable-runserver
+ - --enable-make-embedded
+ task_script: build-aux/check-make-embedded.sh
+ static:
+ configure_args:
+ - "CFLAGS=-Wall -g -O2"
+ - --disable-tests
+ - --disable-git-receiver
+ - --disable-runserver
+ - --enable-make-embedded
+ task_script: build-aux/build-static.sh
+ win32:
+ configure_args:
+ - CC=
+ - "CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4"
+ - --host=i686-w64-mingw32
+ - --target=i686-w64-mingw32
+ - --disable-tests
+ - --disable-git-receiver
+ - --disable-make
+ - --disable-runserver
+ task_script: build-aux/build-windows.sh
+ win64:
+ configure_args:
+ - CC=
+ - "CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4"
+ - --host=x86_64-w64-mingw32
+ - --target=x86_64-w64-mingw32
+ - --disable-tests
+ - --disable-git-receiver
+ - --disable-make
+ - --disable-runserver
+ task_script: build-aux/build-windows.sh