Skip to content
Snippets Groups Projects
Commit aadd65e1 authored by Moritz Maxeiner's avatar Moritz Maxeiner
Browse files

Add required host DLLs

parent 3eed0b15
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,10 @@ build windows: ...@@ -22,6 +22,10 @@ build windows:
tags: [ windows, shell ] tags: [ windows, shell ]
before_script: before_script:
- echo "${CI_REGISTRY_PASSWORD}" | docker login -u "${CI_REGISTRY_USER}" "${CI_REGISTRY}" --password-stdin - echo "${CI_REGISTRY_PASSWORD}" | docker login -u "${CI_REGISTRY_USER}" "${CI_REGISTRY}" --password-stdin
- Copy-Item 'C:/Windows/System32/opengl32.dll' 'windows/opengl32.dll'
- Copy-Item 'C:/Windows/System32/glu32.dll' 'windows/glu32.dll'
- Copy-Item 'C:/Windows/System32/ddraw.dll' 'windows/ddraw.dll'
- Copy-Item 'C:/Windows/System32/nvcuda.dll' 'windows/nvcuda.dll'
script: script:
- docker build --isolation process --memory 12G --pull -t "${CI_REGISTRY}/$(${CI_PROJECT_PATH}.toLower()):windows" windows - docker build --isolation process --memory 12G --pull -t "${CI_REGISTRY}/$(${CI_PROJECT_PATH}.toLower()):windows" windows
- docker push "${CI_REGISTRY}/$(${CI_PROJECT_PATH}.toLower()):windows" - docker push "${CI_REGISTRY}/$(${CI_PROJECT_PATH}.toLower()):windows"
......
...@@ -58,6 +58,10 @@ RUN $vcpkg_dir = 'C:/vcpkg'; \ ...@@ -58,6 +58,10 @@ RUN $vcpkg_dir = 'C:/vcpkg'; \
./scripts/bootstrap.ps1; \ ./scripts/bootstrap.ps1; \
[Environment]::SetEnvironmentVariable('VCPKG_DIR', "\"$vcpkg_dir\"", [EnvironmentVariableTarget]::Machine); [Environment]::SetEnvironmentVariable('VCPKG_DIR', "\"$vcpkg_dir\"", [EnvironmentVariableTarget]::Machine);
COPY opengl32.dll C:/Windows/System32/opengl32.dll
COPY glu32.dll C:/Windows/System32/glu32.dll
COPY ddraw.dll C:/Windows/System32/ddraw.dll
COPY nvcuda.dll C:/Windows/System32/nvcuda.dll
RUN cd $Env:VCPKG_DIR; \ RUN cd $Env:VCPKG_DIR; \
$vcpkg_triplet = 'x64-windows-14.13'; \ $vcpkg_triplet = 'x64-windows-14.13'; \
./vcpkg install \ ./vcpkg install \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment