mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 09:20:39 +01:00
Add Linux build to appveyor to have public snapshots per-build and disable VS2015 and x86 builds for better performance.
This commit is contained in:
parent
606e9e345c
commit
e38999f658
39
appveyor.yml
39
appveyor.yml
@ -1,25 +1,42 @@
|
||||
image:
|
||||
- Visual Studio 2015
|
||||
- Visual Studio 2017
|
||||
- Ubuntu1804
|
||||
#- Visual Studio 2015
|
||||
|
||||
platform:
|
||||
- x64
|
||||
- x86
|
||||
#- x86
|
||||
|
||||
shallow_clone: true
|
||||
|
||||
install:
|
||||
- for /r %%i in (*.bat) do unix2dos "%%i"
|
||||
- if "%PLATFORM%" == "x64" set FB_PROCESSOR_ARCHITECTURE=AMD64
|
||||
- if "%PLATFORM%" == "x64" set FB_OUTPUT_SUFFIX=x64
|
||||
- if "%PLATFORM%" == "x86" set FB_PROCESSOR_ARCHITECTURE=x86
|
||||
- if "%PLATFORM%" == "x86" set FB_OUTPUT_SUFFIX=win32
|
||||
- if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat"
|
||||
- cd builds\win32
|
||||
- run_all.bat JUSTBUILD
|
||||
- cmd: for /r %%i in (*.bat) do unix2dos "%%i"
|
||||
- cmd: if "%PLATFORM%" == "x64" set FB_PROCESSOR_ARCHITECTURE=AMD64
|
||||
- cmd: if "%PLATFORM%" == "x64" set FB_OUTPUT_SUFFIX=x64
|
||||
- cmd: if "%PLATFORM%" == "x86" set FB_PROCESSOR_ARCHITECTURE=x86
|
||||
- cmd: if "%PLATFORM%" == "x86" set FB_OUTPUT_SUFFIX=win32
|
||||
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat"
|
||||
- cmd: cd builds\win32
|
||||
- cmd: run_all.bat JUSTBUILD
|
||||
- cmd: set ARTIFACTS_PATH=output_%FB_OUTPUT_SUFFIX%
|
||||
- sh: export APT_PACKAGES="libtool-bin"
|
||||
- sh: if [ $PLATFORM = "x64" ]; then export APT_PACKAGES="$APT_PACKAGES libtommath1 libtommath-dev libicu-dev zlib1g-dev"; fi
|
||||
- sh: if [ $PLATFORM = "x86" ]; then export APT_PACKAGES="$APT_PACKAGES gcc-multilib g++-multilib libncurses5-dev:i386 libtommath-dev:i386 libicu-dev:i386 zlib1g-dev:i386"; fi
|
||||
- sh: if [ $PLATFORM = "x64" ]; then export CC="gcc" CXX="g++"; fi
|
||||
- sh: if [ $PLATFORM = "x86" ]; then export CC="gcc -m32" CXX="g++ -m32"; fi
|
||||
- sh: if [ $PLATFORM = "x86" ]; then export BUILD_FLAG=--build=i386-pc-linux-gnu; fi
|
||||
- sh: sudo apt-get -y update
|
||||
- sh: sudo apt-get -y install $APT_PACKAGES
|
||||
- sh: find . -type f -iname "*.sh" -exec chmod +x {} \;
|
||||
- sh: ./autogen.sh --enable-binreloc --with-builtin-tomcrypt --prefix=/opt/firebird $BUILD_FLAG
|
||||
- sh: make -j4
|
||||
- sh: make dist
|
||||
- sh: (mkdir output; tar xzvf gen/Firebird-[0-9]*.tar.gz -C output)
|
||||
- sh: (cd output/Firebird-[0-9]*; sudo ./install.sh -silent)
|
||||
- sh: export ARTIFACTS_PATH=`find gen/Firebird-[0-9]*.tar.gz`
|
||||
|
||||
artifacts:
|
||||
- path: output_$(FB_OUTPUT_SUFFIX)
|
||||
- path: $(ARTIFACTS_PATH)
|
||||
name: output
|
||||
type: zip
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user