buildljt will clone the Git repository into the temp. directory, even if the repository is really a local sandbox, so we need to specify the branch.
68 lines
2.6 KiB
YAML
68 lines
2.6 KiB
YAML
install:
|
|
- cmd: >-
|
|
mkdir c:\installers
|
|
|
|
mkdir c:\temp
|
|
|
|
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
|
|
|
|
7z x c:\installers\nasm-2.10.01-win32.zip -oc:\ > c:\installers\nasm.install.log
|
|
|
|
curl -fSL -o c:\installers\i686-4.8.1-release-win32-dwarf-rt_v3-rev2.7z "https://sourceforge.net/projects/mingw-w64/files/Toolchains targetting Win32/Personal Builds/mingw-builds/4.8.1/threads-win32/dwarf/i686-4.8.1-release-win32-dwarf-rt_v3-rev2.7z"
|
|
|
|
7z x c:\installers\i686-4.8.1-release-win32-dwarf-rt_v3-rev2.7z -oc:\ > c:\installers\mingw32.install.log
|
|
|
|
curl -fSL -o c:\installers\x86_64-4.8.1-release-win32-seh-rt_v3-rev2.7z "https://sourceforge.net/projects/mingw-w64/files/Toolchains targetting Win64/Personal Builds/mingw-builds/4.8.1/threads-win32/seh/x86_64-4.8.1-release-win32-seh-rt_v3-rev2.7z"
|
|
|
|
7z x c:\installers\x86_64-4.8.1-release-win32-seh-rt_v3-rev2.7z -oc:\ > c:\installers\mingw64.install.log
|
|
|
|
set INCLUDE=c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include
|
|
|
|
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
|
|
|
|
set PATH=c:\nasm-2.10.01;c:\Program Files (x86)\NSIS;c:\mingw32\bin;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%
|
|
|
|
bash -c "echo \"c:/mingw32 /mingw32\" >> /etc/fstab"
|
|
|
|
bash -c "echo \"c:/mingw64 /mingw64\" >> /etc/fstab"
|
|
|
|
set MSYSTEM=MINGW32
|
|
|
|
bash -c "pacman --noconfirm -S autoconf automake libtool zip"
|
|
|
|
mklink /d "%ProgramData%\Oracle\Java32" "c:\Program Files (x86)\Java\jdk1.6.0"
|
|
|
|
git clone --depth=1 https://github.com/libjpeg-turbo/buildscripts.git c:/buildscripts
|
|
|
|
build_script:
|
|
- cmd: >-
|
|
bash c:/buildscripts/buildljt -r file://%CD:\=/% -b /c/ljt.nightly %APPVEYOR_REPO_BRANCH% -v
|
|
|
|
move c:\ljt.nightly\files\*.tar.gz .
|
|
|
|
move c:\ljt.nightly\files\*.exe .
|
|
|
|
move c:\ljt.nightly\files\*.zip .
|
|
|
|
move c:\ljt.nightly\log-windows.txt .
|
|
|
|
artifacts:
|
|
- path: '*.tar.gz'
|
|
name: Source tarball
|
|
|
|
- path: '*-gcc*.exe'
|
|
name: SDK for MinGW
|
|
|
|
- path: '*-vc*.exe'
|
|
name: SDK for Visual C++
|
|
|
|
- path: '*.zip'
|
|
name: Windows JNI JARs
|
|
|
|
- path: 'log-windows.txt'
|
|
name: Build log
|
|
|
|
test: off
|
|
|
|
deploy: off
|