1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-04-10 06:44:29 +00:00

just get the thing working and leave it up to someone with more win10 knowledge than myself :)

This commit is contained in:
Bret Curtis 2020-04-22 10:36:11 +02:00
parent b38459e505
commit 6f1767c374

View File

@ -3,9 +3,8 @@ stages:
Debian: Debian:
tags: tags:
# - docker - docker
# - linux - linux
- none_remove_me
image: gcc image: gcc
cache: cache:
key: apt-cache key: apt-cache
@ -24,6 +23,7 @@ Debian:
artifacts: artifacts:
paths: paths:
- build/artifacts/ - build/artifacts/
MacOS: MacOS:
tags: tags:
- macos - macos
@ -50,15 +50,14 @@ Windows:
- Set-Variable -Name "time" -Value (date -Format "%H:%m") - Set-Variable -Name "time" -Value (date -Format "%H:%m")
- echo ${time} - echo ${time}
- echo "started by ${GITLAB_USER_NAME}" - echo "started by ${GITLAB_USER_NAME}"
- (New-Object System.Net.WebClient).DownloadFile('http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20190524.exe', '$PSScriptRoot\msys2.exe') # TODO: to anyone wanting to do further work here, we need to figure out how to get the below working
- $result = Start-Process -Wait -FilePath '$PSScriptRoot\msys2.exe' -ArgumentList '/S' -PassThru # TODO: on gitlab's new shared windows runners. They currently don't have bash or anything else installed
- echo ${result} # TODO: it is currently just a bare windows 10 with powershell.
- bash # - env # turn on for debugging
- env # turn on for debugging # - sh %CI_PROJECT_DIR%/CI/before_script.msvc.sh -c Release -p x64 -v 2017 -V
- sh %CI_PROJECT_DIR%/CI/before_script.msvc.sh -c Release -p x64 -v 2017 -V # - SET msBuildLocation="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe"
- SET msBuildLocation="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe" # - call %msBuildLocation% MSVC2017_64\OpenMW.sln /t:Build /p:Configuration=Release /m:%NUMBER_OF_PROCESSORS%
- call %msBuildLocation% MSVC2017_64\OpenMW.sln /t:Build /p:Configuration=Release /m:%NUMBER_OF_PROCESSORS% # - 7z a OpenMW_MSVC2017_64_%CI_BUILD_REF_NAME%_%CI_BUILD_ID%.zip %CI_PROJECT_DIR%\MSVC2017_64\Release\
- 7z a OpenMW_MSVC2017_64_%CI_BUILD_REF_NAME%_%CI_BUILD_ID%.zip %CI_PROJECT_DIR%\MSVC2017_64\Release\
cache: cache:
paths: paths:
- deps - deps