Add build test for normal build
--- /dev/null
+name: Build(Window)
+
+on:
+ pull_request:
+ branches:
+ - master
+
+jobs:
+ build:
+ runs-on: windows-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: ilammy/msvc-dev-cmd@v1
+ with:
+ submodules: true
+ - name: Install Packages
+ run: |
+ pip install meson==0.58.0 ninja
+ - name: Build
+ run: |
+ meson --backend=ninja build --buildtype=release
+ where link
+ ninja -C build
+ ninja -C build install
+
+ - uses: actions/upload-artifact@v2
+ with:
+ name: result
+ path: build/src\thorvg*
+
project('thorvg',
'cpp',
- default_options : ['buildtype=debugoptimized', 'b_sanitize=none', 'werror=false', 'optimization=s', 'cpp_std=gnu++14'],
+ default_options : ['buildtype=debugoptimized', 'b_sanitize=none', 'werror=false', 'optimization=s', 'cpp_std=c++14'],
version : '0.5.99',
license : 'MIT')
#include "tvgTaskScheduler.h"
#include "tvgLoader.h"
+#ifdef _WIN32
+ #include <cstring>
+#endif
+
#ifdef THORVG_SW_RASTER_SUPPORT
#include "tvgSwRenderer.h"
#endif