mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-14 03:54:25 +00:00

Still windows action needs unit_test & examples. @https://github.com/thorvg/thorvg/issues/1378
29 lines
No EOL
600 B
YAML
29 lines
No EOL
600 B
YAML
name: Windows
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: ilammy/msvc-dev-cmd@v1
|
|
- name: Install Packages
|
|
run: |
|
|
pip install meson==0.58.0 ninja
|
|
- name: Build
|
|
run: |
|
|
meson --backend=ninja build -Dlog=true -Dloaders="all" -Dsavers="all" -Dbindings="capi" -Dtools="all"
|
|
where link
|
|
ninja -C build install
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: result
|
|
path: build/src\thorvg* |