Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[core] Prepare changelog for maps-v1.3.0 (2020.02-release-vanillashake) release #16247

Closed
Changes from 1 commit
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
b7b9246
[test-runner] Share common code between test runners
Feb 12, 2020
5d6aa25
[benchmark] Add iOS benchmark runner
Feb 12, 2020
6ddabec
[build] Enable iOS benchmark runner in CI
Feb 3, 2020
9297045
[build] Fix Android benchmark runner CI config
Feb 14, 2020
9a80354
[build] Bump Xcode and iOS versions for test runner builds
Feb 12, 2020
640c422
Revert "[ios, macos] Include SKU token for offline requests (#16130)"…
jmkiley Feb 19, 2020
8572e7a
[qt] Fix compilation error
tmpsantos Feb 20, 2020
8ac289d
[core] Add support for "line within polygon"
zmiao Feb 17, 2020
c3e6ce0
[core] Move geometry within algorithm to util
zmiao Feb 18, 2020
c70d7a4
[core] Update unti tests. Remove unnecessary debugging code
zmiao Feb 18, 2020
f669dfd
Bump gl-js version
zmiao Feb 19, 2020
d03f136
[core] Remove unnecessary includes, fix comments
zmiao Feb 19, 2020
c3bc8ee
[test-runner] Add new metrics
zmiao Feb 19, 2020
e9d1a48
[core] Add bounding box overlapping check before line within polygon …
zmiao Feb 20, 2020
67bc8ec
Update changelog
zmiao Feb 21, 2020
0101c6d
[android] add jni binding for source zoom delta (#16221)
Feb 24, 2020
6d9a5c6
[core] Dismiss actors from sprite loader
pozdnyakov Feb 18, 2020
a96c217
[build] Bump mapbox-base
tmpsantos Feb 24, 2020
bcdb0ce
[core] Add min and max pitch options
Feb 18, 2020
0224fed
[test] Add test for min and max pitch options
Feb 19, 2020
3184c5a
[core] Fix offline region download freezing
pozdnyakov Feb 25, 2020
4b216fe
[core] Consolidate file source keys in the generic FileSource header
pozdnyakov Feb 25, 2020
9e990f7
Add OfflineDownload.NoFreezingOnCachedTilesAndNewStyle unit test
pozdnyakov Feb 25, 2020
335172b
Add a changelog entry
pozdnyakov Feb 25, 2020
d03b8ff
[core] Return pitch bounds in degrees
Feb 26, 2020
49ed05e
[test] Verify pitch bounds
Feb 26, 2020
575b2e9
[glfw] Add option to test pitch bounds
Feb 25, 2020
86c3e6c
Bump GL JS
zmiao Feb 26, 2020
66b3933
Backport https://github.com/mapbox/mapbox-gl-js/pull/9333
zmiao Feb 26, 2020
abd90cc
Update Changelog
zmiao Feb 26, 2020
a97afb9
[core] Add layer serialization method
alexshalamov Feb 25, 2020
0424a68
[core] Generate layer code
alexshalamov Feb 25, 2020
e0ff98c
[core] Fix Color serialization
alexshalamov Feb 25, 2020
55d06ed
[core] Fix TransitionOptions serialization
alexshalamov Feb 25, 2020
993101b
[core] Add unit test for layer serialization
alexshalamov Feb 25, 2020
0a9fc4a
[core] Update Map.UniversalStyleGetter test
alexshalamov Feb 25, 2020
567e8e9
[core] Update baselines for gl-native tools
alexshalamov Feb 25, 2020
cc616b9
[core] Update changelog
alexshalamov Feb 25, 2020
c398f7f
[core] Move mbgl::Pass and mbgl::PassRefPtr to a separate header
pozdnyakov Feb 25, 2020
9777108
[core] FileSourceManager::getFileSource() returns PassRefPtr
pozdnyakov Feb 25, 2020
2b78374
[core] Move setResourceTransform() to FileSource interface
pozdnyakov Feb 26, 2020
5415b4b
[core] Fix mbgl::Pass constructor
pozdnyakov Feb 26, 2020
07d2074
[core] OnlineFileSource is never accessed directly
pozdnyakov Feb 26, 2020
9bcb84e
Add change log entry
pozdnyakov Feb 26, 2020
d133b5b
Add Pass.NoCopy unit test
pozdnyakov Feb 26, 2020
52c077f
[build] Build files related to OpenGL renderer only when the flag is …
Feb 24, 2020
13bedf4
[build][ios] Move iOS specific ccache scripts to platform directory
Feb 24, 2020
4dc5351
[build][ios] Move iOS test runners to a separate cmake file
Feb 25, 2020
7666437
[build][ios] Refactor iOS test runner CI job configs
Feb 25, 2020
801b64a
[build][ios] Upload updated metrics to CI artifacts
Feb 25, 2020
8f39f5d
[build] Generate the LICENSE.md for mbgl-core
tmpsantos Feb 24, 2020
b5dbb68
[build] Make csscolorparser and parsedate vendors
tmpsantos Feb 26, 2020
d9f40ca
[build] Add license file for mbgl-core.a
tmpsantos Feb 26, 2020
cb53942
[ios, macos] Cleaned up iOS, macOS CMake configuration
1ec5 Feb 25, 2020
237b913
[ios, macos] Deleted iOS/macOS map SDK sources, resources, scripts
1ec5 Feb 27, 2020
9b6c59b
[ios, macos] Redirect documentation to mapbox-gl-native-ios
1ec5 Feb 27, 2020
e3c0ac7
Link to Mapbox Maps SDK
1ec5 Feb 27, 2020
5606b65
Updated binary size baselines
1ec5 Feb 27, 2020
255f9b4
[android] Add jni binding for min and max pitch (#16236)
Feb 28, 2020
f080016
[core][offline] Offline download does not hang on 404 error
pozdnyakov Feb 27, 2020
7b363b7
Add OfflineDownload.NoFreezingOnNotFoundError unit test
pozdnyakov Feb 27, 2020
e3f847f
Emit error message with URL details on load error 404
pozdnyakov Feb 27, 2020
fa7049f
Add change log entry
pozdnyakov Feb 27, 2020
45d7710
[core] Unskip within expression tests
alexshalamov Feb 28, 2020
5916ea7
[core] Prepare changelog for maps-v1.3.0 (2020.02-release-vanillashak…
alexshalamov Feb 28, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[build][ios] Move iOS test runners to a separate cmake file
  • Loading branch information
Juha Alanen authored and alexshalamov committed Feb 28, 2020
commit 4dc535137353769a039fc71d8d54af33b2c27cfd
217 changes: 217 additions & 0 deletions platform/ios/ios-test-runners.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,217 @@
if(MBGL_IOS_RENDER_TEST)
include(${PROJECT_SOURCE_DIR}/vendor/zip-archive.cmake)
initialize_ios_target(mbgl-vendor-zip-archive)

set(PREPARE_CMD "${PROJECT_SOURCE_DIR}/render-test/ios/setup_test_data.sh")
execute_process(COMMAND ${PREPARE_CMD} RESULT_VARIABLE CMD_ERROR WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})

set(RESOURCES ${PROJECT_SOURCE_DIR}/platform/ios/test/common/Main.storyboard
${PROJECT_SOURCE_DIR}/platform/ios/test/common/LaunchScreen.storyboard ${PROJECT_SOURCE_DIR}/test-data)

add_executable(
RenderTestApp
${PROJECT_SOURCE_DIR}/platform/ios/test/common/ios_test_runner.hpp
${PROJECT_SOURCE_DIR}/platform/ios/test/common/AppDelegate.h
${PROJECT_SOURCE_DIR}/platform/ios/test/common/AppDelegate.m
${PROJECT_SOURCE_DIR}/platform/ios/test/common/main.m
${PROJECT_SOURCE_DIR}/render-test/ios/ios_test_runner.cpp
${PROJECT_SOURCE_DIR}/render-test/ios/iosTestRunner.h
${PROJECT_SOURCE_DIR}/render-test/ios/iosTestRunner.mm
${RESOURCES}
)
initialize_ios_target(RenderTestApp)

set_target_properties(
RenderTestApp
PROPERTIES
MACOSX_BUNDLE
TRUE
MACOSX_BUNDLE_IDENTIFIER
com.mapbox.RenderTestAPP
MACOSX_BUNDLE_INFO_PLIST
${PROJECT_SOURCE_DIR}/render-test/ios/Info.plist
RESOURCE
"${RESOURCES}"
)

target_include_directories(
RenderTestApp
PUBLIC {PROJECT_SOURCE_DIR}/render-test/include ${PROJECT_SOURCE_DIR}/include
)

target_include_directories(
RenderTestApp
PRIVATE
${PROJECT_SOURCE_DIR}/platform/darwin/src
${PROJECT_SOURCE_DIR}/platform/darwin/include
${PROJECT_SOURCE_DIR}/platform/darwin/include/mbgl/interface/
${PROJECT_SOURCE_DIR}/platform/default/include
${PROJECT_SOURCE_DIR}/platform/ios/test/common
${PROJECT_SOURCE_DIR}/src
)

target_include_directories(
RenderTestApp
PUBLIC ${PROJECT_SOURCE_DIR}/render-test/ios
)

target_link_libraries(
RenderTestApp
PRIVATE mbgl-render-test mbgl-vendor-zip-archive
)

set_target_properties(RenderTestApp PROPERTIES XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "")
set_target_properties(RenderTestApp PROPERTIES XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO")

find_package(XCTest REQUIRED)

xctest_add_bundle(RenderTestAppTests RenderTestApp ${PROJECT_SOURCE_DIR}/render-test/ios/tests/Tests.m)

target_include_directories(
RenderTestAppTests
PUBLIC ${PROJECT_SOURCE_DIR}/render-test/ios
)

xctest_add_test(XCTest.RenderTestApp RenderTestAppTests)

set_target_properties(RenderTestAppTests PROPERTIES XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET "${IOS_DEPLOYMENT_TARGET}")
set_target_properties(RenderTestAppTests PROPERTIES XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH $<$<CONFIG:Debug>:YES>)
set_target_properties(RenderTestAppTests PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${PROJECT_SOURCE_DIR}/render-test/ios/tests/Info.plist)
set_target_properties(RenderTestAppTests PROPERTIES XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "")
set_target_properties(RenderTestAppTests PROPERTIES XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO")
endif()

if(MBGL_IOS_UNIT_TEST)
execute_process(COMMAND ditto ${PROJECT_SOURCE_DIR}/test/fixtures ${CMAKE_CURRENT_BINARY_DIR}/test-data/test/fixtures)
execute_process(
COMMAND
ditto ${PROJECT_SOURCE_DIR}/mapbox-gl-js/src/style-spec/reference
${CMAKE_CURRENT_BINARY_DIR}/test-data/mapbox-gl-js/src/style-spec/reference
)

set(RESOURCES ${PROJECT_SOURCE_DIR}/platform/ios/test/common/Main.storyboard
${PROJECT_SOURCE_DIR}/platform/ios/test/common/LaunchScreen.storyboard ${CMAKE_CURRENT_BINARY_DIR}/test-data)

add_executable(
UnitTestsApp
${PROJECT_SOURCE_DIR}/platform/ios/test/common/ios_test_runner.hpp
${PROJECT_SOURCE_DIR}/platform/ios/test/common/AppDelegate.h
${PROJECT_SOURCE_DIR}/platform/ios/test/common/AppDelegate.m
${PROJECT_SOURCE_DIR}/platform/ios/test/common/iosTestRunner.mm
${PROJECT_SOURCE_DIR}/platform/ios/test/common/main.m
${PROJECT_SOURCE_DIR}/test/ios/ios_test_runner.cpp
${PROJECT_SOURCE_DIR}/test/ios/iosTestRunner.h
${RESOURCES}
)
initialize_ios_target(UnitTestsApp)

set_target_properties(
UnitTestsApp
PROPERTIES
MACOSX_BUNDLE
TRUE
MACOSX_BUNDLE_IDENTIFIER
com.mapbox.UnitTestsApp
MACOSX_BUNDLE_INFO_PLIST
${PROJECT_SOURCE_DIR}/test/ios/Info.plist
RESOURCE
"${RESOURCES}"
)

target_include_directories(
UnitTestsApp
PUBLIC
${PROJECT_SOURCE_DIR}/include
${PROJECT_SOURCE_DIR}/platform/ios/test/common
${PROJECT_SOURCE_DIR}/test/include
${PROJECT_SOURCE_DIR}/test/ios
)

target_link_libraries(
UnitTestsApp
PRIVATE mbgl-compiler-options -Wl,-force_load mbgl-test
)

set_target_properties(UnitTestsApp PROPERTIES XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "")
set_target_properties(UnitTestsApp PROPERTIES XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO")

find_package(XCTest REQUIRED)

xctest_add_bundle(UnitTestsAppTests UnitTestsApp ${PROJECT_SOURCE_DIR}/platform/ios/test/common/Tests.m)

target_include_directories(
UnitTestsAppTests
PUBLIC ${PROJECT_SOURCE_DIR}/test/ios
)

xctest_add_test(XCTest.UnitTestsApp UnitTestsAppTests)

set_target_properties(UnitTestsAppTests PROPERTIES XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET "${IOS_DEPLOYMENT_TARGET}")
set_target_properties(UnitTestsAppTests PROPERTIES XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH $<$<CONFIG:Debug>:YES>)
set_target_properties(UnitTestsAppTests PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${PROJECT_SOURCE_DIR}/test/ios/tests/Info.plist)
set_target_properties(UnitTestsAppTests PROPERTIES XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "")
set_target_properties(UnitTestsAppTests PROPERTIES XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO")
endif()

if(MBGL_IOS_BENCHMARK)
execute_process(COMMAND ditto ${PROJECT_SOURCE_DIR}/benchmark/fixtures ${CMAKE_CURRENT_BINARY_DIR}/benchmark-data/benchmark/fixtures)
execute_process(
COMMAND
ditto ${PROJECT_SOURCE_DIR}/test/fixtures/api/assets/streets
${CMAKE_CURRENT_BINARY_DIR}/benchmark-data/test/fixtures/api/assets/streets
)

set(RESOURCES ${PROJECT_SOURCE_DIR}/platform/ios/test/common/Main.storyboard
${PROJECT_SOURCE_DIR}/platform/ios/test/common/LaunchScreen.storyboard ${CMAKE_CURRENT_BINARY_DIR}/benchmark-data)

add_executable(
BenchmarkApp
${PROJECT_SOURCE_DIR}/platform/ios/test/common/ios_test_runner.hpp
${PROJECT_SOURCE_DIR}/platform/ios/test/common/AppDelegate.h
${PROJECT_SOURCE_DIR}/platform/ios/test/common/AppDelegate.m
${PROJECT_SOURCE_DIR}/platform/ios/test/common/iosTestRunner.mm
${PROJECT_SOURCE_DIR}/platform/ios/test/common/main.m
${PROJECT_SOURCE_DIR}/benchmark/ios/ios_test_runner.cpp
${PROJECT_SOURCE_DIR}/benchmark/ios/iosTestRunner.h
${RESOURCES}
)
initialize_ios_target(BenchmarkApp)

target_include_directories(
BenchmarkApp
PUBLIC
${PROJECT_SOURCE_DIR}/include
${PROJECT_SOURCE_DIR}/platform/ios/test/common
${PROJECT_SOURCE_DIR}/benchmark/include
${PROJECT_SOURCE_DIR}/benchmark/ios
)

target_link_libraries(
BenchmarkApp
PRIVATE mbgl-compiler-options -Wl,-force_load mbgl-benchmark
)

set_target_properties(BenchmarkApp PROPERTIES MACOSX_BUNDLE TRUE)
set_target_properties(BenchmarkApp PROPERTIES MACOSX_BUNDLE_IDENTIFIER com.mapbox.BenchmarkApp)
set_target_properties(BenchmarkApp PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${PROJECT_SOURCE_DIR}/benchmark/ios/Info.plist)
set_target_properties(BenchmarkApp PROPERTIES RESOURCE "${RESOURCES}")
set_target_properties(BenchmarkApp PROPERTIES XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "")
set_target_properties(BenchmarkApp PROPERTIES XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO")

find_package(XCTest REQUIRED)

xctest_add_bundle(BenchmarkAppTests BenchmarkApp ${PROJECT_SOURCE_DIR}/platform/ios/test/common/Tests.m)

target_include_directories(
BenchmarkAppTests
PUBLIC ${PROJECT_SOURCE_DIR}/benchmark/ios
)

xctest_add_test(XCTest.BenchmarkApp BenchmarkAppTests)

set_target_properties(BenchmarkAppTests PROPERTIES XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET "${IOS_DEPLOYMENT_TARGET}")
set_target_properties(BenchmarkAppTests PROPERTIES XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH $<$<CONFIG:Debug>:YES>)
set_target_properties(BenchmarkAppTests PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${PROJECT_SOURCE_DIR}/benchmark/ios/tests/Info.plist)
set_target_properties(BenchmarkAppTests PROPERTIES XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "")
set_target_properties(BenchmarkAppTests PROPERTIES XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO")
endif()
Loading