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:
|
||||
pull_request:
|
||||
|
@ -19,27 +19,11 @@ jobs:
|
|||
pip install meson==0.58.0 ninja
|
||||
- name: Build
|
||||
run: |
|
||||
meson --backend=ninja build
|
||||
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*
|
||||
|
||||
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
|
||||
|
||||
path: build/src\thorvg*
|
Loading…
Add table
Reference in a new issue