Support 32bit JVM on Windows 32bit builds

This commit is contained in:
FriwiDev
2021-10-26 15:17:35 +02:00
parent 6317b856fc
commit d4394018b1
4 changed files with 22 additions and 5 deletions

View File

@@ -8,8 +8,11 @@ if ("%2"=="") ( ^
exit 1 ^
)
if "%1"=="386" (set bit=32) ^
else (set bit=64)
:: Execute build with windows Dockerfile
docker build -t jcefbuild --file DockerfileWindows .
docker build -t jcefbuild%bit% --file DockerfileWindows%bit% .
:: Execute run with windows Dockerfile
docker run -v jcef:c:/jcef -v out:c:/out -e TARGETARCH=%1 -e BUILD_TYPE=%2 jcefbuild
docker run -v jcef:c:/jcef -v out:c:/out -e TARGETARCH=%1 -e BUILD_TYPE=%2 jcefbuild%bit%