appveyor: take screenshot
This commit is contained in:
parent
8e78a8d96a
commit
68df562097
13
appveyor.yml
13
appveyor.yml
|
@ -9,6 +9,10 @@ environment:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- cmd: set PATH=C:\cygwin\bin;C:\cygwin\usr\bin;%PATH%
|
- cmd: set PATH=C:\cygwin\bin;C:\cygwin\usr\bin;%PATH%
|
||||||
|
# screenshot-cmd https://code.google.com/archive/p/screenshot-cmd/
|
||||||
|
- cmd: mkdir screenshot-cmd
|
||||||
|
- cmd: curl -o screenshot-cmd\screenshot-cmd.exe https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/screenshot-cmd/screenshot-cmd.exe
|
||||||
|
- cmd: set PATH=%cd%\screenshot-cmd\;%PATH%
|
||||||
# nasm
|
# nasm
|
||||||
- cmd: curl -O https://www.nasm.us/pub/nasm/releasebuilds/2.13.03/win32/nasm-2.13.03-win32.zip
|
- cmd: curl -O https://www.nasm.us/pub/nasm/releasebuilds/2.13.03/win32/nasm-2.13.03-win32.zip
|
||||||
- cmd: unzip nasm-2.13.03-win32.zip
|
- cmd: unzip nasm-2.13.03-win32.zip
|
||||||
|
@ -54,7 +58,7 @@ install:
|
||||||
# Xvfb is installed via cygwin package xorg-server-extra
|
# Xvfb is installed via cygwin package xorg-server-extra
|
||||||
- cmd: Xvfb -help
|
- cmd: Xvfb -help
|
||||||
- cmd: ssh -V
|
- cmd: ssh -V
|
||||||
- cmd: echo TODO install gnu make and dependencies
|
- cmd: screenshot-cmd -h & exit 0
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- cmd: make COMMIT_TIMESTAMP_ISO_8601="%APPVEYOR_REPO_COMMIT_TIMESTAMP%" all
|
- cmd: make COMMIT_TIMESTAMP_ISO_8601="%APPVEYOR_REPO_COMMIT_TIMESTAMP%" all
|
||||||
|
@ -64,6 +68,11 @@ test_script:
|
||||||
- cmd: sh os.bat exit
|
- cmd: sh os.bat exit
|
||||||
# The next command actually runs the script as a MS-DOS batch file
|
# The next command actually runs the script as a MS-DOS batch file
|
||||||
- cmd: sh -c './os.bat exit'
|
- cmd: sh -c './os.bat exit'
|
||||||
|
- cmd: screenshot-cmd -o screenshot.png
|
||||||
|
- cmd: identify screenshot.png
|
||||||
|
|
||||||
#artifacts:
|
#artifacts:
|
||||||
# - path: path/to/file_or_directory_to_zip
|
# - path: path/to/file_or_directory_to_zip
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
- path: screenshot.png
|
Loading…
Reference in New Issue
Block a user