mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
Kokoro: Test that the _other.cc files also build
Change-Id: I908b9250de839435c3b355fb89b0bb72ab821a54 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/48043 Auto-Submit: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
committed by
Commit Bot service account
parent
fe70c75bc5
commit
7687ec1fa3
@@ -95,6 +95,11 @@ if [ "$BUILD_SYSTEM" == "cmake" ]; then
|
||||
${SRC_DIR}/test/test-all.sh "${BUILD_DIR}/tint"
|
||||
hide_cmds
|
||||
|
||||
status "Checking _other.cc files also build"
|
||||
show_cmds
|
||||
cmake ${SRC_DIR} ${CMAKE_FLAGS} ${COMMON_CMAKE_FLAGS} -DTINT_BUILD_AS_OTHER_OS=1
|
||||
make --jobs=$(nproc)
|
||||
hide_cmds
|
||||
else
|
||||
status "Unsupported build system: $BUILD_SYSTEM"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user