Okay, at this point I'm betting pushd/popd just don't work on AppVeyor's cmd.exe. I'm betting it has to do with popd /? showing me the output of call /? instead. Just use cd.

This commit is contained in:
Pietro Gagliardi 2019-04-07 21:03:20 -04:00
parent 73e4e58c80
commit 9c164a2c5c
1 changed files with 1 additions and 2 deletions

View File

@ -65,7 +65,7 @@ after_build:
- set "version=%APPVEYOR_REPO_BRANCH%" - set "version=%APPVEYOR_REPO_BRANCH%"
- if %APPVEYOR_REPO_TAG%==true ( set "version=%APPVEYOR_REPO_TAG_NAME%" ) - if %APPVEYOR_REPO_TAG%==true ( set "version=%APPVEYOR_REPO_TAG_NAME%" )
- set "artifact=%version%-windows-%arch%-%compiler%-%libtype%" - set "artifact=%version%-windows-%arch%-%compiler%-%libtype%"
- pushd build\meson-out - cd build\meson-out
# TODO msvc only? # TODO msvc only?
- if %libtype%==static ( ren libui.a libui.lib ) - if %libtype%==static ( ren libui.a libui.lib )
- copy ..\..\ui.h . - copy ..\..\ui.h .
@ -76,7 +76,6 @@ after_build:
- 7z a "%APPVEYOR_BUILD_FOLDER%\libui-%artifact%.zip" %libfiles% ui.h ui_windows.h - 7z a "%APPVEYOR_BUILD_FOLDER%\libui-%artifact%.zip" %libfiles% ui.h ui_windows.h
- 7z a "%APPVEYOR_BUILD_FOLDER%\examples-%artifact%.zip" controlgallery.exe cpp-multithread.exe datetime.exe drawtext.exe histogram.exe tester.exe timer.exe - 7z a "%APPVEYOR_BUILD_FOLDER%\examples-%artifact%.zip" controlgallery.exe cpp-multithread.exe datetime.exe drawtext.exe histogram.exe tester.exe timer.exe
- del ui.h ui_windows.h - del ui.h ui_windows.h
- popd
artifacts: artifacts:
- path: libui-*.zip - path: libui-*.zip