mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
infra action: Enable to run test(window build)
use static png, jpg library
This commit is contained in:
parent
f28a0d9b5c
commit
71324e2e1d
1 changed files with 3 additions and 8 deletions
11
.github/workflows/build_win.yml
vendored
11
.github/workflows/build_win.yml
vendored
|
@ -25,7 +25,7 @@ jobs:
|
||||||
name: result
|
name: result
|
||||||
path: build/src\thorvg*
|
path: build/src\thorvg*
|
||||||
|
|
||||||
build_with_loaders:
|
unit_test:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -34,14 +34,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pip install meson==0.58.0 ninja
|
pip install meson==0.58.0 ninja
|
||||||
|
|
||||||
- name: Install Packages(png, jpg)
|
|
||||||
run: |
|
|
||||||
vcpkg install libpng
|
|
||||||
vcpkg install libjpeg-turbo
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
meson --backend=ninja build -Dloaders="svg, tvg, png, jpg" -Dsavers="tvg" -Dbindings="capi"
|
meson --backend=ninja build -Dloaders="svg, tvg, png, jpg" -Dsavers="tvg" -Dbindings="capi" -Dtests=true
|
||||||
where link
|
where link
|
||||||
ninja -C build install
|
ninja -C build test
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue