Increased max open file limit for Windows CI

This commit is contained in:
niansa 2024-03-10 22:53:02 +01:00
parent 6907d5a7fc
commit ca4e5532c4
2 changed files with 6 additions and 1 deletions

View file

@ -18,5 +18,5 @@ build windows x64:
- docker:dind
script:
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin
- docker build -f Dockerfile-windows -t ${CI_REGISTRY_IMAGE}:windows-x64 .
- docker build --ulimit nofile=5000:5000 -f Dockerfile-windows -t ${CI_REGISTRY_IMAGE}:windows-x64 .
- docker push ${CI_REGISTRY_IMAGE}:windows-x64

View file

@ -12,6 +12,11 @@ function min {
# Leave wineserver running in the background
setsid wineserver -p -f &
# Increase open file limit
echo " --- Increasing max. open file limit"
ulimit -n 5120
# Install tools
echo " --- Installing tools"
cd ~/.wine/drive_c/Program\ Files/