Skip to content

293 drawing to player names is misaligned when the map screen is open on resolutions above 640x480 #792

293 drawing to player names is misaligned when the map screen is open on resolutions above 640x480

293 drawing to player names is misaligned when the map screen is open on resolutions above 640x480 #792

Workflow file for this run

name: MSBuild CI
on:
push:
branches:
[ master, development ]
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: .
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
BUILD_CONFIGURATION: [Debug, Release]
BUILD_PLATFORM: [x86, x64]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Install googletest
uses: cvpkg/[email protected]
with:
googletest_tag: 'release-1.11.0' # default is 'v1.11.0'
- name: Restore vcpkg packages
working-directory: ${{env.GITHUB_WORKSPACE}}
run: vcpkg integrate install
- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
run: nuget restore remc2.sln
- name: Build ${{matrix.BUILD_CONFIGURATION}} ${{matrix.BUILD_PLATFORM}}
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /p:Configuration=${{matrix.BUILD_CONFIGURATION}} /p:PlatformTarget=${{matrix.BUILD_PLATFORM}} /p:Platform=${{matrix.BUILD_PLATFORM}} ${{env.SOLUTION_FILE_PATH}}/remc2.sln
#- name: Run Unit Tests x86
# if: ${{ matrix.BUILD_CONFIGURATION == 'Debug' && matrix.BUILD_PLATFORM == 'x86' }}
# working-directory: ${{env.GITHUB_WORKSPACE}}
# env:
# ASAN_OPTIONS: continue_on_error=1
# run:
# ${{env.SOLUTION_FILE_PATH}}/${{matrix.BUILD_CONFIGURATION}}/remc2-unit-test.exe
#- name: Run Unit Tests x64
# if: ${{ matrix.BUILD_CONFIGURATION == 'Debug' && matrix.BUILD_PLATFORM == 'x64' }}
# working-directory: ${{env.GITHUB_WORKSPACE}}
# env:
# ASAN_OPTIONS: continue_on_error=1
# run:
# ${{env.SOLUTION_FILE_PATH}}/${{matrix.BUILD_PLATFORM}}/${{matrix.BUILD_CONFIGURATION}}/remc2-unit-test.exe
- name: Archive x86
if: ${{ github.REF_NAME == 'master' && matrix.BUILD_CONFIGURATION == 'Release' && matrix.BUILD_PLATFORM == 'x86' }}
uses: actions/upload-artifact@v4
with:
name: remc2-win-x86
path: ${{env.SOLUTION_FILE_PATH}}/Release/
if-no-files-found: error
- name: Archive x64
if: ${{ github.REF_NAME == 'master' && matrix.BUILD_CONFIGURATION == 'Release' && matrix.BUILD_PLATFORM == 'x64' }}
uses: actions/upload-artifact@v4
with:
name: remc2-win-x64
path: ${{env.SOLUTION_FILE_PATH}}/${{matrix.BUILD_PLATFORM}}/Release/
if-no-files-found: error
- name: Archive Enhanced Graphics
if: ${{ github.REF_NAME == 'master' && matrix.BUILD_CONFIGURATION == 'Release' && matrix.BUILD_PLATFORM == 'x64' }}
uses: actions/upload-artifact@v4
with:
name: enhanced-graphics
path: |
${{env.SOLUTION_FILE_PATH}}/enhancedassets/
!${{env.SOLUTION_FILE_PATH}}/enhancedassets/music-ogg/