mirror of https://github.com/wanadev/yoga.git
Merge branch 'github-actions-windows-build'
This commit is contained in:
commit
776f64df04
|
@ -0,0 +1,38 @@
|
|||
name: "Windows Build"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: master
|
||||
tags: v[0-9]+.[0-9]+.[0-9]+
|
||||
|
||||
jobs:
|
||||
|
||||
winbuild:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: "Checkout"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: "Set up Python"
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.9
|
||||
|
||||
- name: "Get some useful debug information"
|
||||
run: |
|
||||
python -VV
|
||||
python -c "from distutils import ccompiler; print(ccompiler.get_default_compiler())"
|
||||
|
||||
- name: "Build YOGA Windows Standelone Version"
|
||||
run: |
|
||||
winbuild\builddist.bat
|
||||
|
||||
- name: Archive Windows Build
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: yoga-vX.X.X_win_standalone_x86-64
|
||||
path: yogawin.dist
|
|
@ -8,15 +8,6 @@ YOGA is a command-line tool that:
|
|||
* converts and optimizes 3D models from various formats to GLB.
|
||||
|
||||
|
||||
## Requirements
|
||||
|
||||
Before using YOGA, you must install Microsoft Visual C++ Redistributable x64
|
||||
for Visual Studio 2019. You can download it from the Microsoft's website
|
||||
(`vc_redist.x64.exe`):
|
||||
|
||||
* https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
YOGA does not need any installation. Just unzip the content of this directory
|
||||
|
@ -44,6 +35,10 @@ Project page and source code:
|
|||
|
||||
* https://github.com/wanadev/yoga
|
||||
|
||||
Documentation:
|
||||
|
||||
* https://wanadev.github.io/yoga/
|
||||
|
||||
Please report any issue on our bug tracker:
|
||||
|
||||
* https://github.com/wanadev/yoga/issues
|
||||
|
|
|
@ -11,7 +11,7 @@ mkdir yogawin.build
|
|||
copy winbuild\yoga-icon.ico yogawin.build\yoga-icon.ico
|
||||
copy winbuild\yoga-icon.ico yoga-icon.ico
|
||||
|
||||
python -m nuitka --follow-imports --standalone --windows-dependency-tool=pefile --windows-icon=yoga-icon.ico winbuild\yogawin.py
|
||||
python -m nuitka --follow-imports --standalone --windows-dependency-tool=pefile --windows-icon-from-ico=yoga-icon.ico --msvc=14.0 winbuild\yogawin.py
|
||||
move yogawin.dist\yogawin.exe yogawin.dist\yoga.exe
|
||||
copy winbuild\README-windows-dist.md yogawin.dist\README.txt
|
||||
copy LICENSE yogawin.dist\LICENSE.txt
|
||||
|
|
Loading…
Reference in New Issue