mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-24 17:01:56 +00:00

Symbol file generation for compiling test code in CI fails. It's not caused by recent patches. We don't test until we know the exact cause. However, loader test is added to check the safety of window build. Error Log [45/68] Generating symbol file src/thorvg-0.dll.p/thorvg-0.dll.symbols FAILED: src/thorvg-0.dll.p/thorvg-0.dll.symbols "C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts\meson" "--internal" "symbolextractor" "D:\a\thorvg\thorvg\build" src/thorvg-0.dll "src\thorvg.lib" src/thorvg-0.dll.p/thorvg-0.dll.symbols
45 lines
922 B
YAML
45 lines
922 B
YAML
name: Build Windows
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: ilammy/msvc-dev-cmd@v1
|
|
- name: Install Packages
|
|
run: |
|
|
pip install meson==0.58.0 ninja
|
|
- name: Build
|
|
run: |
|
|
meson --backend=ninja build
|
|
where link
|
|
ninja -C build install
|
|
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: result
|
|
path: build/src\thorvg*
|
|
|
|
build_loaders:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: ilammy/msvc-dev-cmd@v1
|
|
- name: Install Packages
|
|
run: |
|
|
pip install meson==0.58.0 ninja
|
|
|
|
- name: Build
|
|
run: |
|
|
meson --backend=ninja build -Dloaders="svg, tvg, png, jpg" -Dsavers="tvg" -Dbindings="capi"
|
|
where link
|
|
ninja -C build install
|
|
|