13b921b29Sopenharmony_ciinstall:
23b921b29Sopenharmony_ci  - cmd: >-
33b921b29Sopenharmony_ci      if not exist c:\installers mkdir c:\installers
43b921b29Sopenharmony_ci
53b921b29Sopenharmony_ci      mkdir c:\temp
63b921b29Sopenharmony_ci
73b921b29Sopenharmony_ci      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
83b921b29Sopenharmony_ci
93b921b29Sopenharmony_ci      7z x c:\installers\nasm-2.10.01-win32.zip -oc:\ > c:\installers\nasm.install.log
103b921b29Sopenharmony_ci
113b921b29Sopenharmony_ci      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"
123b921b29Sopenharmony_ci
133b921b29Sopenharmony_ci      md "c:\Program Files (x86)\mingw-w64\i686-6.4.0-posix-dwarf-rt_v5-rev0"
143b921b29Sopenharmony_ci
153b921b29Sopenharmony_ci      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
163b921b29Sopenharmony_ci
173b921b29Sopenharmony_ci      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"
183b921b29Sopenharmony_ci
193b921b29Sopenharmony_ci      md "c:\Program Files\mingw-w64\x86_64-6.4.0-posix-seh-rt_v5-rev0"
203b921b29Sopenharmony_ci
213b921b29Sopenharmony_ci      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
223b921b29Sopenharmony_ci
233b921b29Sopenharmony_ci      set INCLUDE=c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include
243b921b29Sopenharmony_ci
253b921b29Sopenharmony_ci      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
263b921b29Sopenharmony_ci
273b921b29Sopenharmony_ci      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%
283b921b29Sopenharmony_ci
293b921b29Sopenharmony_ci      set MSYSTEM=MINGW32
303b921b29Sopenharmony_ci
313b921b29Sopenharmony_ci      bash -c "pacman --noconfirm -S zip"
323b921b29Sopenharmony_ci
333b921b29Sopenharmony_ci      mklink /d "%ProgramData%\Oracle\Java32" "c:\Program Files (x86)\Java\jdk1.6.0"
343b921b29Sopenharmony_ci
353b921b29Sopenharmony_ci      git clone --depth=1 https://github.com/libjpeg-turbo/buildscripts.git -b %APPVEYOR_REPO_BRANCH% c:/buildscripts
363b921b29Sopenharmony_ci
373b921b29Sopenharmony_cicache:
383b921b29Sopenharmony_ci  - c:\installers\nasm-2.10.01-win32.zip -> appveyor.yml
393b921b29Sopenharmony_ci  - c:\installers\i686-6.4.0-release-posix-dwarf-rt_v5-rev0.7z -> appveyor.yml
403b921b29Sopenharmony_ci  - c:\installers\x86_64-6.4.0-release-posix-seh-rt_v5-rev0.7z -> appveyor.yml
413b921b29Sopenharmony_ci
423b921b29Sopenharmony_cibuild_script:
433b921b29Sopenharmony_ci  - cmd: >-
443b921b29Sopenharmony_ci      for /f %%i in ('"cygpath %CD%"') do set MINGWPATH=%%i
453b921b29Sopenharmony_ci
463b921b29Sopenharmony_ci      bash c:/buildscripts/buildljt -d %MINGWPATH% -b /c/ljt.nightly -v
473b921b29Sopenharmony_ci
483b921b29Sopenharmony_ci      move c:\ljt.nightly\files\*.tar.gz .
493b921b29Sopenharmony_ci
503b921b29Sopenharmony_ci      move c:\ljt.nightly\files\*.exe .
513b921b29Sopenharmony_ci
523b921b29Sopenharmony_ci      move c:\ljt.nightly\files\*.zip .
533b921b29Sopenharmony_ci
543b921b29Sopenharmony_ci      move c:\ljt.nightly\log-windows.txt .
553b921b29Sopenharmony_ci
563b921b29Sopenharmony_ciartifacts:
573b921b29Sopenharmony_ci  - path: '*.tar.gz'
583b921b29Sopenharmony_ci    name: Source tarball
593b921b29Sopenharmony_ci
603b921b29Sopenharmony_ci  - path: '*-gcc*.exe'
613b921b29Sopenharmony_ci    name: SDK for MinGW
623b921b29Sopenharmony_ci
633b921b29Sopenharmony_ci  - path: '*-vc*.exe'
643b921b29Sopenharmony_ci    name: SDK for Visual C++
653b921b29Sopenharmony_ci
663b921b29Sopenharmony_ci  - path: '*.zip'
673b921b29Sopenharmony_ci    name: Windows JNI JARs
683b921b29Sopenharmony_ci
693b921b29Sopenharmony_ci  - path: 'log-windows.txt'
703b921b29Sopenharmony_ci    name: Build log
713b921b29Sopenharmony_ci
723b921b29Sopenharmony_citest: off
733b921b29Sopenharmony_ci
743b921b29Sopenharmony_cideploy: off
75