Skip to content

Commit baa2b09

Browse files
committed
1 parent b51597b commit baa2b09

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

swift-ci/sdks/android/build-docker

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ ANDROID_NDK_VERSION=android-ndk-r27c
3232
# Build the Docker image
3333
$DOCKER build --build-arg OS_ARCH_SUFFIX=$OS_ARCH_SUFFIX --build-arg SWIFT_TOOLCHAIN_URL=$SWIFT_TOOLCHAIN_URL --build-arg ANDROID_NDK_VERSION=$ANDROID_NDK_VERSION -t swift-android .
3434

35+
echo "Testing docker container"
36+
$DOCKER run -it --rm \
37+
-v ./source:/source \
38+
-v ./products:/products \
39+
swift-android \
40+
echo "Docker Test"
41+
echo "Done testing docker container"
42+
3543
# Check-out the sources
3644
scripts/fetch-source.sh --source-dir source --swift-tag ${SWIFT_TAG}
3745

swift-ci/sdks/android/scripts/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
# Swift SDK for Android: Build Script
3-
set -e
3+
set -ex
44

55
# Docker sets TERM to xterm if using a pty; we probably want
66
# xterm-256color, otherwise we only get eight colors

0 commit comments

Comments
 (0)