1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-09 22:24:14 +03:00
Files
esp8266/appveyor.yml
Ivan Grokhotkov acc6064a7a add appveyor and travis CI (+22 squashed commits)
[e86e3c2] attempt to fix deploy
[62a68fe] attempt to fix deploy
[e372d18] appveyor: specify artifact path
[89c30ab] fix ant call
[11ccf6d] fix esptool name on windows
[6ab7c73] add deploy to appveyor
[690fdb4] fix windows toolchain sha sum
[1106884] Unquote JAVA_HOME
[bb3dcd9] Shallow clone in appveyor
[b1ec7db] travis: deploy tags only, appveyor: set java_home
[9d790f2] disable repeated failure notifications in travis, attempt to fix appveyor.yml
[2d0a499] Run appveyor build in CMD
[11dd735] adding travis deploy, attempt to fix paths on appveyor
[208c1f1] fix toolchain sha sum path for linux
[1a92165] Temporary path hack for appveyor
[9caea0b] fix build.xml
[68eaaf1] linux components and sha sums
[485e457] fix ant bin path
[c6b6573] silent build
[5edd927] fix ant path, add travis
[36d1f17] appveyor: clone using https
[b758833] Add appveyor build script
2015-03-28 00:36:52 +03:00

68 lines
1.8 KiB
YAML

version: 0.0.{build}
platform:
- x86
skip_commits:
message: /\[skip appveyor\]/
shallow_clone: true
matrix:
fast_finish: true
init:
- git config --global url."https://".insteadOf git://
build_script:
- java -version
- javac -version
- where javac
- choco -y install ant
- echo ON
- echo PATH %PATH%
- echo JAVA_HOME %JAVA_HOME%
- echo ANT_HOME %ANT_HOME%
- SET ANT_HOME=C:\tools\apache-ant-1.9.4
- SET PATH=%PATH%;C:\tools\apache-ant-1.9.4\bin
- SET JAVA_HOME=C:\Program Files\Java\jdk1.7.0
- echo PATH %PATH%
- echo JAVA_HOME %JAVA_HOME%
- echo ANT_HOME %ANT_HOME%
- java -version
- javac -version
- ant -version
- cd build
- ant dist < NUL
# - SET PATH=C:\MinGW\bin;C:\MinGW\msys\1.0\bin;%PATH%
# - make all
- for /f %%i in ('git describe --always') do set PRODUCT_VERSION=%%i
# - SET PRODUCT_NAME=esptool-%PRODUCT_VERSION%
# - SET PLATFORM_NAME=win32
# - SET PRODUCT_DIST_NAME=%PRODUCT_NAME%-%PLATFORM_NAME%
- echo %PRODUCT_VERSION%
# - echo %PRODUCT_DIST_NAME%
# - mkdir %PRODUCT_DIST_NAME%
# - cp esptool.exe %PRODUCT_DIST_NAME%\esptool.exe
# - SET PRODUCT_ZIP=%PRODUCT_DIST_NAME%.zip
# - 7z a %PRODUCT_ZIP% %PRODUCT_DIST_NAME%
# - appveyor PushArtifact %PRODUCT_ZIP%
# - SET PRODUCT_ZIP_SHA=%PRODUCT_ZIP%.sha
# - ps: Get-FileHash $env:PRODUCT_ZIP -Algorithm SHA1 | Out-File $env:PRODUCT_ZIP_SHA
# - type %PRODUCT_ZIP_SHA%
# - appveyor PushArtifact %PRODUCT_ZIP_SHA%
artifacts:
- path: build\windows\arduino-*.zip
deploy:
- provider: GitHub
auth_token:
secure: 'PGg5fnoBpP1Omzr6f3KIYDiD8J30rretQjSl/MITRpzvSCmN88kM6VDMz1TBGZTA'
artifact: /.*\.zip/
draft: true
prerelease: false
on:
appveyor_repo_tag: true