mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
infra github: compact actions & added tools build.
Still windows action needs unit_test & examples. @https://github.com/thorvg/thorvg/issues/1378
This commit is contained in:
parent
a2d93b7d37
commit
a5e84ce791
1 changed files with 3 additions and 19 deletions
22
.github/workflows/build_win.yml
vendored
22
.github/workflows/build_win.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: Build Windows
|
name: Windows
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
@ -19,27 +19,11 @@ jobs:
|
||||||
pip install meson==0.58.0 ninja
|
pip install meson==0.58.0 ninja
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
meson --backend=ninja build
|
meson --backend=ninja build -Dlog=true -Dloaders="all" -Dsavers="all" -Dbindings="capi" -Dtools="all"
|
||||||
where link
|
where link
|
||||||
ninja -C build install
|
ninja -C build install
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: result
|
name: result
|
||||||
path: build/src\thorvg*
|
path: build/src\thorvg*
|
||||||
|
|
||||||
build_loaders:
|
|
||||||
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 -Dloaders="all" -Dsavers="all" -Dbindings="capi"
|
|
||||||
where link
|
|
||||||
ninja -C build install
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue