Merge 3b3bffab49
into 37f992321e
This commit is contained in:
commit
fd2dc749f2
144
appveyor.yml
144
appveyor.yml
|
@ -1,58 +1,110 @@
|
||||||
# version format
|
# version format
|
||||||
version: 1.0.{build}
|
version: 1.0.{build}
|
||||||
|
|
||||||
environment:
|
image:
|
||||||
|
- Visual Studio 2017
|
||||||
|
- MacOS
|
||||||
|
|
||||||
|
for:
|
||||||
|
-
|
||||||
matrix:
|
matrix:
|
||||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
only:
|
||||||
PYTHON: "C:\\Python36-x64"
|
- image: Visual Studio 2017
|
||||||
FBXSDK_SDKS: sdk
|
|
||||||
|
environment:
|
||||||
|
PYTHON: "C:\\Python36-x64"
|
||||||
|
FBXSDK_SDKS: sdk
|
||||||
|
|
||||||
stack: python %PYTHON%
|
stack: python %PYTHON%
|
||||||
|
|
||||||
#temporarily disabled
|
#temporarily disabled
|
||||||
#cache:
|
#cache:
|
||||||
# - C:\Users\appveyor\.conan\data -> appveyor.yml, conanfile.py
|
# - C:\Users\appveyor\.conan\data -> appveyor.yml, conanfile.py
|
||||||
|
|
||||||
init:
|
init:
|
||||||
- git config --global filter.lfs.required false
|
- git config --global filter.lfs.required false
|
||||||
- git config --global filter.lfs.smudge "git-lfs smudge --skip %f"
|
- git config --global filter.lfs.smudge "git-lfs smudge --skip %f"
|
||||||
- git config --global filter.lfs.process "git-lfs filter-process --skip"
|
- git config --global filter.lfs.process "git-lfs filter-process --skip"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- cinst zstandard
|
- cinst zstandard
|
||||||
- ps: Start-FileDownload 'https://github.com/zellski/FBXSDK-Windows/archive/2019.2.tar.gz'
|
- ps: Start-FileDownload 'https://github.com/zellski/FBXSDK-Windows/archive/2019.2.tar.gz'
|
||||||
- 7z e 2019.2.tar.gz
|
- 7z e 2019.2.tar.gz
|
||||||
- 7z x 2019.2.tar
|
- 7z x 2019.2.tar
|
||||||
- ps: move -v .\FBXSDK-Windows-2019.2\sdk\ .
|
- ps: move -v .\FBXSDK-Windows-2019.2\sdk\ .
|
||||||
- ps: zstd -d -r --rm sdk
|
- ps: zstd -d -r --rm sdk
|
||||||
- cmd: echo "Downloading conan..."
|
- cmd: echo "Downloading conan..."
|
||||||
- cmd: set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
|
- cmd: set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
|
||||||
- cmd: python --version
|
- cmd: python --version
|
||||||
- cmd: python -m pip install --upgrade pip
|
- cmd: python -m pip install --upgrade pip
|
||||||
- cmd: pip install conan
|
- cmd: pip install conan
|
||||||
- cmd: conan user # Create the conan data directory
|
- cmd: conan user # Create the conan data directory
|
||||||
- cmd: conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
|
- cmd: conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
|
||||||
- cmd: conan --version
|
- cmd: conan --version
|
||||||
|
|
||||||
|
build_script:
|
||||||
|
- cmd: conan install . -i build -s build_type=Release -s compiler="Visual Studio" -s compiler.version=15
|
||||||
|
- cmd: conan build -bf build .
|
||||||
|
- cmd: move build\Release\FBX2glTF.exe build\Release\FBX2glTF-windows-x64.exe
|
||||||
|
|
||||||
build_script:
|
test: off
|
||||||
- cmd: conan install . -i build -s build_type=Release -s compiler="Visual Studio" -s compiler.version=15
|
|
||||||
- cmd: conan build -bf build .
|
|
||||||
- cmd: move build\Release\FBX2glTF.exe build\Release\FBX2glTF-windows-x64.exe
|
|
||||||
|
|
||||||
test: off
|
artifacts:
|
||||||
|
- path: build/Release/FBX2glTF-windows-x64.exe
|
||||||
|
|
||||||
artifacts:
|
deploy:
|
||||||
- path: build/Release/FBX2glTF-windows-x64.exe
|
tag: $(APPVEYOR_REPO_TAG_NAME)
|
||||||
|
description: ''
|
||||||
|
provider: GitHub
|
||||||
|
auth_token:
|
||||||
|
secure: OSvhQP0O9uaH+OFOJpbGiiBMRTOJ+H/VJHqVBhq39RNDnOfUEr/yjJNKh3JSdNqj
|
||||||
|
artifact: build/Release/FBX2glTF-windows-x64.exe
|
||||||
|
draft: true
|
||||||
|
prerelease: true
|
||||||
|
on:
|
||||||
|
branch: master
|
||||||
|
APPVEYOR_REPO_TAG: true
|
||||||
|
|
||||||
deploy:
|
-
|
||||||
tag: $(APPVEYOR_REPO_TAG_NAME)
|
matrix:
|
||||||
description: ''
|
only:
|
||||||
provider: GitHub
|
- image: macOS
|
||||||
auth_token:
|
|
||||||
secure: OSvhQP0O9uaH+OFOJpbGiiBMRTOJ+H/VJHqVBhq39RNDnOfUEr/yjJNKh3JSdNqj
|
install:
|
||||||
artifact: build/Release/FBX2glTF-windows-x64.exe
|
- export HOMEBREW_NO_AUTO_UPDATE=true # Disable homebrew auto-update
|
||||||
draft: true
|
# -------------------------------------------------------------------
|
||||||
prerelease: true
|
# We can directly install conan from brew instead of pip
|
||||||
on:
|
# - export PATH="/usr/local/opt/python/libexec/bin:$PATH"
|
||||||
branch: master
|
# - brew install python # Note: python has been installed in appveyor
|
||||||
APPVEYOR_REPO_TAG: true
|
# - pip --version
|
||||||
|
# - pip install conan
|
||||||
|
# -------------------------------------------------------------------
|
||||||
|
- brew install zstd conan
|
||||||
|
- conan --version
|
||||||
|
- curl -sL "https://github.com/zellski/FBXSDK-Darwin/archive/2019.2.tar.gz" | tar xz --strip-components=1 */sdk
|
||||||
|
- zstd -d -r --rm sdk
|
||||||
|
- conan user
|
||||||
|
- conan remote add --force bincrafters https://api.bintray.com/conan/bincrafters/public-conan
|
||||||
|
|
||||||
|
build_script:
|
||||||
|
- conan install . -i build -s build_type=Release -s compiler=apple-clang -s compiler.version=10.0 -s compiler.libcxx=libc++
|
||||||
|
- conan build . -bf build
|
||||||
|
- mv build/FBX2glTF build/FBX2glTF-darwin-x64
|
||||||
|
|
||||||
|
test: off
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
- path: build/FBX2glTF-darwin-x64
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
tag: $(APPVEYOR_REPO_TAG_NAME)
|
||||||
|
description: ''
|
||||||
|
provider: GitHub
|
||||||
|
auth_token:
|
||||||
|
secure: OSvhQP0O9uaH+OFOJpbGiiBMRTOJ+H/VJHqVBhq39RNDnOfUEr/yjJNKh3JSdNqj
|
||||||
|
artifact: build/FBX2glTF-darwin-x64
|
||||||
|
draft: true
|
||||||
|
prerelease: true
|
||||||
|
on:
|
||||||
|
branch: master
|
||||||
|
APPVEYOR_REPO_TAG: true
|
||||||
|
|
Loading…
Reference in New Issue