-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
@setlocal enableextensions enabledelayedexpansion | ||
|
||
echo PATH=%PATH% | ||
echo JAVA_HOME=%JAVA_HOME% | ||
|
||
set AWS_CMAKE_GENERATOR=Visual Studio 14 2015 Win64 | ||
|
||
git submodule update --init | ||
|
||
for /f %%A in ('git describe --tags') do ( | ||
set GIT_TAG=%%A | ||
) | ||
|
||
mvn -X install -DskipTests -Dcrt.classifier=windows-x86_64 || goto error | ||
|
||
aws s3 cp --recursive --exclude "*" --include "*.dll" .\target\cmake-build\lib s3://aws-crt-java-pipeline/%GIT_TAG%/lib | ||
aws s3 cp --recursive --exclude "*" --include "*.jar" .\target s3://aws-crt-java-pipeline/%GIT_TAG%/jar | ||
|
||
|
||
@endlocal | ||
goto :EOF | ||
|
||
:error | ||
@endlocal | ||
echo Failed with error #%errorlevel%. | ||
exit /b %errorlevel% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
@setlocal enableextensions enabledelayedexpansion | ||
|
||
echo PATH=%PATH% | ||
echo JAVA_HOME=%JAVA_HOME% | ||
|
||
set AWS_CMAKE_GENERATOR=Visual Studio 14 2015 | ||
|
||
git submodule update --init | ||
|
||
for /f %%A in ('git describe --tags') do ( | ||
set GIT_TAG=%%A | ||
) | ||
|
||
mvn -X install -DskipTests -Dcrt.classifier=windows-x86_32 || goto error | ||
|
||
aws s3 cp --recursive --exclude "*" --include "*.dll" .\target\cmake-build\lib s3://aws-crt-java-pipeline/%GIT_TAG%/lib | ||
aws s3 cp --recursive --exclude "*" --include "*.jar" .\target s3://aws-crt-java-pipeline/%GIT_TAG%/jar | ||
|
||
|
||
@endlocal | ||
goto :EOF | ||
|
||
:error | ||
@endlocal | ||
echo Failed with error #%errorlevel%. | ||
exit /b %errorlevel% |