diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2016-08-10 09:44:11 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2016-08-10 09:44:11 +0300 |
commit | 365aa635096277487dff71591a9ffc7aeb2896f6 (patch) | |
tree | f4db53b431002bc5c3dea8e4a015a65f72b62715 | |
parent | d9c75443844eef8566a76603244bbe552ffcf921 (diff) |
Push artifacts to binary store per commit
-rw-r--r-- | .travis.yml | 3 | ||||
-rw-r--r-- | Readme.md | 6 | ||||
-rw-r--r-- | appveyor.yml | 9 |
3 files changed, 10 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml index 81db15ee..4ff50db8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -56,8 +56,7 @@ script: if [ "$__" = "cmake tests" ]; then TARNAME=boost.afio-v2.0-source-`date +%Y%m%d%H%M`.tar.xz; tar cfJ ../$TARNAME . --exclude llvm* --exclude .git; - CXX=g++-6 ctest -S .ci.cmake -V; - # && curl --data-binary @../$TARNAME https://dedi4.nedprod.com/static/files/upload/$TARNAME; + CXX=g++-6 ctest -S .ci.cmake -V && curl -u jenkins-nedprod:$JENKINS_NEDPROD_PASSWORD --data-binary @../$TARNAME https://dedi4.nedprod.com/static/files/upload/$TARNAME; fi - if [ "$__" = "Documentation" ]; then @@ -5,15 +5,13 @@ v2 rewrite. You can view its documentation at https://ned14.github.io/boost.afio CMake todos: - Add doxygen generation support - - Add ctest script to build the docs (and report warnings to cdash), pushing if - successful new docs to github (resetting the gh-pages SHA) - - cmake --build . --target afio_docs - Get travis to push latest doxygen docs to github for me - Push artifacts to: - curl --data-binary @test.txt https://dedi4.nedprod.com/static/files/upload -- Any dependency .natvis need to be compiled in! - For non-embedded config, cmake should stamp git submodule SHAs so I can dispense with the upd method of submodule stamping +- Any dependency .natvis need to be compiled in! +- Rename all ParseProjectVersionFromHpp etc to parse_project_version_from_hpp etc - Static library edition appears to not be encoding extended error code detail? - Add a unit test! diff --git a/appveyor.yml b/appveyor.yml index fc86f81f..3d6eb997 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -16,6 +16,9 @@ init: clone_folder: c:\boost.afio platform: x64 configuration: Release +environment: + JENKINS_NEDPROD_PASSWORD: + secure: vI+U4YDxi99hN90v6LMvmg== before_build: - git checkout master @@ -23,16 +26,18 @@ before_build: build_script: - ctest -S .ci.cmake -V after_build: - - 7z a afio_v2_binaries_win64.zip doc include Readme.md release_notes.md build\bin\Release\afio_dl-2.0-Windows-x64-Release.dll build\lib\Release\afio_dl-2.0-Windows-x64-Release.lib build\lib\Release\afio_sl-2.0-Windows-x64-Release.lib + - for /f %a in ('powershell -Command "Get-Date -format yyyyMMddHHmm"') do set datetime=%a + - set "TARNAME=boost.afio-v2.0-binaries-win64-%datetime%.zip" + - 7z a %TARNAME% doc include Readme.md release_notes.md build\bin\Release\afio_dl-2.0-Windows-x64-Release.dll build\lib\Release\afio_dl-2.0-Windows-x64-Release.lib build\lib\Release\afio_sl-2.0-Windows-x64-Release.lib before_test: test_script: after_test: on_success: + - curl -u jenkins-nedprod:%JENKINS_NEDPROD_PASSWORD% --data-binary @%TARNAME% https://dedi4.nedprod.com/static/files/upload/%TARNAME% on_failure: on_finish: - ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path build\merged_junit_results.xml)) artifacts: - - path: afio_v2_binaries_win64.zip |