File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,14 @@ ANDROID_NDK_VERSION=android-ndk-r27c
32
32
# Build the Docker image
33
33
$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 .
34
34
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
+
35
43
# Check-out the sources
36
44
scripts/fetch-source.sh --source-dir source --swift-tag ${SWIFT_TAG}
37
45
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
# Swift SDK for Android: Build Script
3
- set -e
3
+ set -ex
4
4
5
5
# Docker sets TERM to xterm if using a pty; we probably want
6
6
# xterm-256color, otherwise we only get eight colors
You can’t perform that action at this time.
0 commit comments