Skip to content

289 scale up minimap map and icons for hd or greater #854

289 scale up minimap map and icons for hd or greater

289 scale up minimap map and icons for hd or greater #854

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@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1
- 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"
shell: cmd
- 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"
shell: cmd
- name: Archive x86
if: ${{ github.REF_NAME == 'master' && matrix.BUILD_CONFIGURATION == 'Release' && matrix.BUILD_PLATFORM == 'x86' }}
uses: actions/upload-artifact@v3
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@v3
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@v3
with:
name: enhanced-graphics
path: |
${{env.SOLUTION_FILE_PATH}}/enhancedassets/
!${{env.SOLUTION_FILE_PATH}}/enhancedassets/music-ogg/