mirror of
https://git.suyu.dev/suyu/ci-docker
synced 2024-11-21 14:29:15 -07:00
Increased max open file limit for Windows CI
This commit is contained in:
parent
6907d5a7fc
commit
ca4e5532c4
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue