Skip to content

Commit f0718de

Browse files
committed
Add AppVeyor support.
1 parent 1cf4ca2 commit f0718de

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.appveyor.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
image:
2+
- Visual Studio 2017
3+
4+
version: "{build}"
5+
6+
clone_depth: 5
7+
8+
install:
9+
- git submodule update --init --recursive
10+
- set NASM_VER=2.13.03
11+
- set NASM_FNAME_FULL=nasm-%NASM_VER%-win64
12+
- set NASM_FNAME=nasm-%NASM_VER%
13+
- set NASM_URL=https://www.nasm.us/pub/nasm/releasebuilds/%NASM_VER%/win64/%NASM_FNAME_FULL%.zip
14+
- appveyor DownloadFile "%NASM_URL%"
15+
- 7z x "%NASM_FNAME_FULL%.zip">NUL
16+
- set "PATH=%CD%\%NASM_FNAME%;%PATH%"
17+
- nasm -v
18+
19+
build: off
20+
21+
test_script:
22+
- call "_build.bat"
23+
24+
artifacts:
25+
- path: Release\x64\jpegoptim.exe
26+
name: jpegoptim
27+
28+
matrix:
29+
fast_finish: true

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# jpegoptim for Windows
22

3+
[![Build status](https://img.shields.io/appveyor/ci/XhmikosR/jpegoptim-windows/master.svg)](https://ci.appveyor.com/project/XhmikosR/jpegoptim-windows/branch/master)
4+
35
This is just my own project files for easy building of [jpegoptim](https://github.com/tjko/jpegoptim) with [mozjpeg](https://github.com/mozilla/mozjpeg) and Microsoft Visual Studio.
46
Currently only 64-bit (x64) is targeted.
57

0 commit comments

Comments
 (0)