1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-10-05 03:56:34 +00:00

Openxr vr silence android ninja

This commit is contained in:
Mads Buvik Sandvei 2020-11-28 11:21:40 +00:00
parent 01add8023e
commit 09b7884116

View file

@ -93,97 +93,97 @@ variables: &engine-targets
variables: &cs-targets variables: &cs-targets
targets: "openmw-cs,bsatool,esmtool,niftest" targets: "openmw-cs,bsatool,esmtool,niftest"
.Windows_Ninja_Base: #.Windows_Ninja_Base:
tags: # tags:
- windows # - windows
before_script: # before_script:
- Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" # - Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
- choco source add -n=openmw-proxy -s="https://repo.openmw.org/repository/Chocolatey/" --priority=1 # - choco source add -n=openmw-proxy -s="https://repo.openmw.org/repository/Chocolatey/" --priority=1
- choco install git --force --params "/GitAndUnixToolsOnPath" -y # - choco install git --force --params "/GitAndUnixToolsOnPath" -y
- choco install 7zip -y # - choco install 7zip -y
- choco install cmake.install --installargs 'ADD_CMAKE_TO_PATH=System' -y # - choco install cmake.install --installargs 'ADD_CMAKE_TO_PATH=System' -y
- choco install vswhere -y # - choco install vswhere -y
- choco install ninja -y # - choco install ninja -y
- choco install python -y # - choco install python -y
- refreshenv # - refreshenv
stage: build # stage: build
script: # script:
- $time = (Get-Date -Format "HH:mm:ss") # - $time = (Get-Date -Format "HH:mm:ss")
- echo ${time} # - echo ${time}
- echo "started by ${GITLAB_USER_NAME}" # - echo "started by ${GITLAB_USER_NAME}"
- sh CI/before_script.msvc.sh -c $config -p Win64 -v 2019 -k -V -N # - sh CI/before_script.msvc.sh -c $config -p Win64 -v 2019 -k -V -N
- cd MSVC2019_64_Ninja # - cd MSVC2019_64_Ninja
- .\ActivateMSVC.ps1 # - .\ActivateMSVC.ps1
- cmake --build . --config $config --target ($targets.Split(',')) # - cmake --build . --config $config --target ($targets.Split(','))
- cd $config # - cd $config
- | # - |
if (Get-ChildItem -Recurse *.pdb) { # if (Get-ChildItem -Recurse *.pdb) {
7z a -tzip ..\..\OpenMW_MSVC2019_64_${config}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}_symbols.zip '*.pdb' # 7z a -tzip ..\..\OpenMW_MSVC2019_64_${config}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}_symbols.zip '*.pdb'
Get-ChildItem -Recurse *.pdb | Remove-Item # Get-ChildItem -Recurse *.pdb | Remove-Item
} # }
- 7z a -tzip ..\..\OpenMW_MSVC2019_64_${config}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}.zip '*' # - 7z a -tzip ..\..\OpenMW_MSVC2019_64_${config}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}.zip '*'
after_script: # after_script:
- Copy-Item C:\ProgramData\chocolatey\logs\chocolatey.log # - Copy-Item C:\ProgramData\chocolatey\logs\chocolatey.log
cache: # cache:
key: ninja-v2 # key: ninja-v2
paths: # paths:
- deps # - deps
- MSVC2019_64_Ninja/deps/Qt # - MSVC2019_64_Ninja/deps/Qt
artifacts: # artifacts:
when: always # when: always
paths: # paths:
- "*.zip" # - "*.zip"
- "*.log" # - "*.log"
- MSVC2019_64_Ninja/*.log # - MSVC2019_64_Ninja/*.log
- MSVC2019_64_Ninja/*/*.log # - MSVC2019_64_Ninja/*/*.log
- MSVC2019_64_Ninja/*/*/*.log # - MSVC2019_64_Ninja/*/*/*.log
- MSVC2019_64_Ninja/*/*/*/*.log # - MSVC2019_64_Ninja/*/*/*/*.log
- MSVC2019_64_Ninja/*/*/*/*/*.log # - MSVC2019_64_Ninja/*/*/*/*/*.log
- MSVC2019_64_Ninja/*/*/*/*/*/*.log # - MSVC2019_64_Ninja/*/*/*/*/*/*.log
- MSVC2019_64_Ninja/*/*/*/*/*/*/*.log # - MSVC2019_64_Ninja/*/*/*/*/*/*/*.log
- MSVC2019_64_Ninja/*/*/*/*/*/*/*/*.log # - MSVC2019_64_Ninja/*/*/*/*/*/*/*/*.log
#
Windows_Ninja_Engine_Release: #Windows_Ninja_Engine_Release:
extends: # extends:
- .Windows_Ninja_Base # - .Windows_Ninja_Base
variables: # variables:
<<: *engine-targets # <<: *engine-targets
config: "Release" # config: "Release"
#
Windows_Ninja_Engine_Debug: #Windows_Ninja_Engine_Debug:
extends: # extends:
- .Windows_Ninja_Base # - .Windows_Ninja_Base
variables: # variables:
<<: *engine-targets # <<: *engine-targets
config: "Debug" # config: "Debug"
#
Windows_Ninja_Engine_RelWithDebInfo: #Windows_Ninja_Engine_RelWithDebInfo:
extends: # extends:
- .Windows_Ninja_Base # - .Windows_Ninja_Base
variables: # variables:
<<: *engine-targets # <<: *engine-targets
config: "RelWithDebInfo" # config: "RelWithDebInfo"
#
Windows_Ninja_CS_Release: #Windows_Ninja_CS_Release:
extends: # extends:
- .Windows_Ninja_Base # - .Windows_Ninja_Base
variables: # variables:
<<: *cs-targets # <<: *cs-targets
config: "Release" # config: "Release"
#
Windows_Ninja_CS_Debug: #Windows_Ninja_CS_Debug:
extends: # extends:
- .Windows_Ninja_Base # - .Windows_Ninja_Base
variables: # variables:
<<: *cs-targets # <<: *cs-targets
config: "Debug" # config: "Debug"
#
Windows_Ninja_CS_RelWithDebInfo: #Windows_Ninja_CS_RelWithDebInfo:
extends: # extends:
- .Windows_Ninja_Base # - .Windows_Ninja_Base
variables: # variables:
<<: *cs-targets # <<: *cs-targets
config: "RelWithDebInfo" # config: "RelWithDebInfo"
.Windows_MSBuild_Base: .Windows_MSBuild_Base:
tags: tags:
@ -275,34 +275,34 @@ Windows_MSBuild_CS_RelWithDebInfo:
<<: *cs-targets <<: *cs-targets
config: "RelWithDebInfo" config: "RelWithDebInfo"
Debian_AndroidNDK_arm64-v8a: #Debian_AndroidNDK_arm64-v8a:
tags: # tags:
- linux # - linux
image: debian:bullseye # image: debian:bullseye
variables: # variables:
CCACHE_SIZE: 3G # CCACHE_SIZE: 3G
cache: # cache:
key: Debian_AndroidNDK_arm64-v8a.v2 # key: Debian_AndroidNDK_arm64-v8a.v2
paths: # paths:
- apt-cache/ # - apt-cache/
- ccache/ # - ccache/
before_script: # before_script:
- export APT_CACHE_DIR=`pwd`/apt-cache && mkdir -pv $APT_CACHE_DIR # - export APT_CACHE_DIR=`pwd`/apt-cache && mkdir -pv $APT_CACHE_DIR
- echo "deb http://deb.debian.org/debian unstable main contrib" > /etc/apt/sources.list # - echo "deb http://deb.debian.org/debian unstable main contrib" > /etc/apt/sources.list
- echo "google-android-ndk-installer google-android-installers/mirror select https://dl.google.com" | debconf-set-selections # - echo "google-android-ndk-installer google-android-installers/mirror select https://dl.google.com" | debconf-set-selections
- apt-get update -yq # - apt-get update -yq
- apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y cmake ccache curl unzip git build-essential google-android-ndk-installer # - apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y cmake ccache curl unzip git build-essential google-android-ndk-installer
stage: build # stage: build
script: # script:
- export CCACHE_BASEDIR="`pwd`" # - export CCACHE_BASEDIR="`pwd`"
- export CCACHE_DIR="`pwd`/ccache" && mkdir -pv "$CCACHE_DIR" # - export CCACHE_DIR="`pwd`/ccache" && mkdir -pv "$CCACHE_DIR"
- ccache -z -M "${CCACHE_SIZE}" # - ccache -z -M "${CCACHE_SIZE}"
- CI/before_install.android.sh # - CI/before_install.android.sh
- CI/before_script.android.sh # - CI/before_script.android.sh
- cd build # - cd build
- cmake --build . -- -j $(nproc) # - cmake --build . -- -j $(nproc)
- cmake --install . # - cmake --install .
- ccache -s # - ccache -s
artifacts: # artifacts:
paths: # paths:
- build/install/ # - build/install/