1install: 2 - cmd: >- 3 if not exist c:\installers mkdir c:\installers 4 5 mkdir c:\temp 6 7 if not exist c:\installers\nasm-2.10.01-win32.zip curl -fSL -o c:\installers\nasm-2.10.01-win32.zip http://www.nasm.us/pub/nasm/releasebuilds/2.10.01/win32/nasm-2.10.01-win32.zip 8 9 7z x c:\installers\nasm-2.10.01-win32.zip -oc:\ > c:\installers\nasm.install.log 10 11 if not exist c:\installers\i686-6.4.0-release-posix-dwarf-rt_v5-rev0.7z curl -fSL -o c:\installers\i686-6.4.0-release-posix-dwarf-rt_v5-rev0.7z "https://sourceforge.net/projects/mingw-w64/files/Toolchains targetting Win32/Personal Builds/mingw-builds/6.4.0/threads-posix/dwarf/i686-6.4.0-release-posix-dwarf-rt_v5-rev0.7z" 12 13 md "c:\Program Files (x86)\mingw-w64\i686-6.4.0-posix-dwarf-rt_v5-rev0" 14 15 7z x c:\installers\i686-6.4.0-release-posix-dwarf-rt_v5-rev0.7z -o"c:\Program Files (x86)\mingw-w64\i686-6.4.0-posix-dwarf-rt_v5-rev0" > c:\installers\mingw32.install.log 16 17 if not exist c:\installers\x86_64-6.4.0-release-posix-seh-rt_v5-rev0.7z curl -fSL -o c:\installers\x86_64-6.4.0-release-posix-seh-rt_v5-rev0.7z "https://sourceforge.net/projects/mingw-w64/files/Toolchains targetting Win64/Personal Builds/mingw-builds/6.4.0/threads-posix/seh/x86_64-6.4.0-release-posix-seh-rt_v5-rev0.7z" 18 19 md "c:\Program Files\mingw-w64\x86_64-6.4.0-posix-seh-rt_v5-rev0" 20 21 7z x c:\installers\x86_64-6.4.0-release-posix-seh-rt_v5-rev0.7z -o"c:\Program Files\mingw-w64\x86_64-6.4.0-posix-seh-rt_v5-rev0" > c:\installers\mingw64.install.log 22 23 set INCLUDE=c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include 24 25 set LIB=c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\amd64;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\lib\x64 26 27 set PATH=c:\nasm-2.10.01;c:\Program Files (x86)\NSIS;c:\msys64\usr\bin;c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\bin\x64;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\bin;%PATH% 28 29 set MSYSTEM=MINGW32 30 31 bash -c "pacman --noconfirm -S zip" 32 33 mklink /d "%ProgramData%\Oracle\Java32" "c:\Program Files (x86)\Java\jdk1.6.0" 34 35 git clone --depth=1 https://github.com/libjpeg-turbo/buildscripts.git -b %APPVEYOR_REPO_BRANCH% c:/buildscripts 36 37cache: 38 - c:\installers\nasm-2.10.01-win32.zip -> appveyor.yml 39 - c:\installers\i686-6.4.0-release-posix-dwarf-rt_v5-rev0.7z -> appveyor.yml 40 - c:\installers\x86_64-6.4.0-release-posix-seh-rt_v5-rev0.7z -> appveyor.yml 41 42build_script: 43 - cmd: >- 44 for /f %%i in ('"cygpath %CD%"') do set MINGWPATH=%%i 45 46 bash c:/buildscripts/buildljt -d %MINGWPATH% -b /c/ljt.nightly -v 47 48 move c:\ljt.nightly\files\*.tar.gz . 49 50 move c:\ljt.nightly\files\*.exe . 51 52 move c:\ljt.nightly\files\*.zip . 53 54 move c:\ljt.nightly\log-windows.txt . 55 56artifacts: 57 - path: '*.tar.gz' 58 name: Source tarball 59 60 - path: '*-gcc*.exe' 61 name: SDK for MinGW 62 63 - path: '*-vc*.exe' 64 name: SDK for Visual C++ 65 66 - path: '*.zip' 67 name: Windows JNI JARs 68 69 - path: 'log-windows.txt' 70 name: Build log 71 72test: off 73 74deploy: off 75