Files
@ r23882:d683a0787bc9
Branch filter:
Location: cpp/openttd-patchpack/source/azure-pipelines-ci.yml - annotation
r23882:d683a0787bc9
1.8 KiB
text/x-yaml
Codechange: Don't use SDL_CreateRGBSurfaceWithFormat()
This function requires libSDL 2.0.5 or higher. It looks like we don't
need to use it, and can just use the original SDL_CreateRGBSurface(),
with the masks set to 0, to trigger the default 8-bit format, which is
SDL_PIXELFORMAT_INDEX8.
Closes #7785
Note: this code path is activated by using an 8-bit blitter, like:
./bin/openttd -b 8bpp-simple
This function requires libSDL 2.0.5 or higher. It looks like we don't
need to use it, and can just use the original SDL_CreateRGBSurface(),
with the masks set to 0, to trigger the default 8-bit format, which is
SDL_PIXELFORMAT_INDEX8.
Closes #7785
Note: this code path is activated by using an 8-bit blitter, like:
./bin/openttd -b 8bpp-simple
r23092:79ac255e172c r23092:79ac255e172c r23396:badc6d0e5c30 r23091:12955d4e1668 r23091:12955d4e1668 r23396:badc6d0e5c30 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23727:041406c57bbc r23110:3bbf809d66e3 r23110:3bbf809d66e3 r23110:3bbf809d66e3 r23110:3bbf809d66e3 r23110:3bbf809d66e3 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23702:a30bc36d2983 r23702:a30bc36d2983 r23840:2934c6033a54 r23840:2934c6033a54 r23702:a30bc36d2983 r23702:a30bc36d2983 r23702:a30bc36d2983 r23702:a30bc36d2983 r23091:12955d4e1668 r23091:12955d4e1668 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23702:a30bc36d2983 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23361:f5e04235e737 r23361:f5e04235e737 r23361:f5e04235e737 r23091:12955d4e1668 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23091:12955d4e1668 r23091:12955d4e1668 | trigger:
- master
- release/*
pr:
- master
- release/*
jobs:
- job: windows
displayName: 'Windows'
pool:
vmImage: 'VS2017-Win2016'
strategy:
matrix:
Win32:
BuildPlatform: 'Win32'
Win64:
BuildPlatform: 'x64'
steps:
- template: azure-pipelines/templates/ci-git-rebase.yml
- template: azure-pipelines/templates/windows-dependencies.yml
- template: azure-pipelines/templates/ci-opengfx.yml
- template: azure-pipelines/templates/windows-build.yml
parameters:
BuildPlatform: $(BuildPlatform)
BuildConfiguration: Debug
- script: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86
cd projects
call regression.bat
displayName: 'Test'
- job: linux
displayName: 'Linux'
pool:
vmImage: 'ubuntu-16.04'
strategy:
matrix:
commit-checker:
Tag: 'commit-checker'
linux-amd64-clang-3.9:
Tag: 'linux-amd64-clang-3.9'
linux-amd64-gcc-6:
Tag: 'linux-amd64-gcc-6'
linux-i386-gcc-6:
Tag: 'linux-i386-gcc-6'
steps:
- template: azure-pipelines/templates/ci-git-rebase.yml
# The dockers already have the dependencies installed
# The dockers already have OpenGFX installed
- template: azure-pipelines/templates/linux-build.yml
parameters:
Image: compile-farm-ci
Tag: $(Tag)
- job: macos
displayName: 'MacOS'
pool:
vmImage: 'macOS-10.13'
variables:
MACOSX_DEPLOYMENT_TARGET: 10.9
steps:
- template: azure-pipelines/templates/ci-git-rebase.yml
- template: azure-pipelines/templates/osx-dependencies.yml
- template: azure-pipelines/templates/ci-opengfx.yml
- template: azure-pipelines/templates/osx-build.yml
- script: 'make regression'
displayName: 'Test'
|