зеркало из https://github.com/mono/SkiaSharp.git
Improve the local builds (#1593)
This commit is contained in:
Родитель
66ed32a5a0
Коммит
3aa8f9644d
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
|
||||
ARCH="arm"
|
||||
if [ "$1" ]; then
|
||||
ARCH="$1"
|
||||
fi
|
||||
|
||||
(cd $DIR && docker build --tag skiasharp-$ARCH .)
|
||||
(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)
|
|
@ -5,7 +5,6 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|||
mkdir -p $DIR/source
|
||||
cp -R $DIR/../source/* $DIR/source/
|
||||
cp -R $DIR/NativeLibraryMiniTest.csproj $DIR/source/
|
||||
cp -R $DIR/nuget.config $DIR/source/
|
||||
cp -R $DIR/../../../output/native/linux/arm/libSkiaSharp.so $DIR/source/
|
||||
|
||||
(cd $DIR && docker build --tag skiasharp/minitest .)
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<clear />
|
||||
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
|
||||
<add key="skiasharp" value="https://aka.ms/skiasharp-eap/index.json" />
|
||||
</packageSources>
|
||||
</configuration>
|
Загрузка…
Ссылка в новой задаче