Skip to content

Commit

Permalink
woops, those should not be deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
TingDaoK committed Jun 13, 2024
1 parent 68c2c38 commit 7123dd5
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
27 changes: 27 additions & 0 deletions codebuild/cd/windows-vs2015-x64-build.bat
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%
27 changes: 27 additions & 0 deletions codebuild/cd/windows-vs2015-x86-build.bat
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%

0 comments on commit 7123dd5

Please sign in to comment.