Skip to content

Commit 3aa8f96

Browse files
authored
Improve the local builds (#1593)
1 parent 66ed32a commit 3aa8f96

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
set -e
3+
4+
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
5+
6+
ARCH="arm"
7+
if [ "$1" ]; then
8+
ARCH="$1"
9+
fi
10+
11+
(cd $DIR && docker build --tag skiasharp-$ARCH .)
12+
(cd $DIR/../../../../ && docker run --rm --name skiasharp-$ARCH --volume $(pwd):/work skiasharp-$ARCH /bin/bash ./bootstrapper.sh -t externals-linux-clang-cross -c Release --buildarch=$ARCH)

utils/NativeLibraryMiniTest/docker/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
55
mkdir -p $DIR/source
66
cp -R $DIR/../source/* $DIR/source/
77
cp -R $DIR/NativeLibraryMiniTest.csproj $DIR/source/
8-
cp -R $DIR/nuget.config $DIR/source/
98
cp -R $DIR/../../../output/native/linux/arm/libSkiaSharp.so $DIR/source/
109

1110
(cd $DIR && docker build --tag skiasharp/minitest .)

utils/NativeLibraryMiniTest/docker/nuget.config

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)