Skip to content

Bump NLog from 5.1.1 to 5.3.4 #1085

Bump NLog from 5.1.1 to 5.3.4

Bump NLog from 5.1.1 to 5.3.4 #1085

name: Build dependants
on:
push:
branches:
- '51X'
pull_request:
branches:
- '51X'
jobs:
Bizhawk:
runs-on: windows-2019
steps:
# Checkout relevant code
- name: Checkout current build target
uses: actions/checkout@v2
with:
path: 'RTCV'
- name: Checkout Bizhawk
uses: actions/checkout@v2
with:
repository: 'redscientistlabs/Bizhawk-Vanguard'
ref: 'master'
path: 'Bizhawk-Vanguard'
# Setup Tooling
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
# Restore packages for all targets
- name: Restore packages in current build target
run: msbuild /t:restore '.\RTCV\RTCV.sln'
- name: Restore packages in Bizhawk
run: msbuild /t:restore '.\Bizhawk-Vanguard\BizHawk.sln'
# Build Bizhawk
- name: Build Bizhawk-Vanguard
run: msbuild '.\Bizhawk-Vanguard\BizHawk.sln'
FileStub:
runs-on: windows-2019
steps:
# Checkout relevant code
- name: Checkout current build target
uses: actions/checkout@v2
with:
path: 'RTCV'
- name: Checkout FileStub
uses: actions/checkout@v2
with:
repository: 'redscientistlabs/FileStub-Vanguard'
ref: 'master'
path: 'FileStub-Vanguard'
# Setup Tooling
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
# Restore packages for all targets
- name: Restore packages in current build target
run: msbuild /t:restore '.\RTCV\RTCV.sln'
- name: Restore packages in FileStub
run: msbuild /t:restore '.\FileStub-Vanguard\FileStub-Vanguard.sln'
# Build FileStub
- name: Build FileStub-Vanguard
run: msbuild '.\FileStub-Vanguard\FileStub-Vanguard.sln'
ProcessStub:
runs-on: windows-2019
steps:
# Checkout relevant code
- name: Checkout current build target
uses: actions/checkout@v2
with:
path: 'RTCV'
- name: Checkout ProcessStub
uses: actions/checkout@v2
with:
repository: 'redscientistlabs/ProcessStub-Vanguard'
ref: 'master'
path: 'ProcessStub-Vanguard'
# Setup Tooling
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
# Restore packages for all targets
- name: Restore packages in current build target
run: msbuild /t:restore '.\RTCV\RTCV.sln'
- name: Restore packages in ProcessStub
run: msbuild /t:restore '.\ProcessStub-Vanguard\ProcessStub-Vanguard.sln'
# Build ProcessStub
- name: Build ProcessStub-Vanguard
run: msbuild '.\ProcessStub-Vanguard\ProcessStub-Vanguard.sln'
melonDS:
runs-on: windows-2019
steps:
# Setup tooling
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
# Setup RTCV
- name: Checkout current build target
uses: actions/checkout@v2
with:
path: 'RTCV'
- name: Restore packages in RTCV
run: msbuild /t:restore '.\RTCV\RTCV.sln'
- name: Build RTCV
run: msbuild '.\RTCV\RTCV.sln'
# Build melonDS
- name: Checkout melonDS-Vanguard
uses: actions/checkout@v2
with:
repository: 'redscientistlabs/melonDS-Vanguard'
ref: 'Vanguard'
path: 'melonDS-Vanguard'
- name: Create build directory
run: |
New-Item -ItemType directory -Path ${{runner.workspace}}\RTCV\melonDS-Vanguard\build
- name: Configure
run: |
cd ${{runner.workspace}}\RTCV\melonDS-Vanguard\build
cmake .. -DENABLE_LTO=false -DDONT_COPY_FIRMWARE=true -DDONT_BUILD_EXTRA_SDL_CODE=true -DCI_BUILD_SHARED_LIBS=true -DCI_INCLUDE_EXTRA_LIBUI_LIBS=true
- name: Build melonDS-Vanguard
run: |
cd ${{runner.workspace}}\RTCV\melonDS-Vanguard\build
msbuild melonDS.sln
dolphin:
# dolphin has build errors with VS2019 _and_ VS2022
# error C2855: command-line option '/std:c++' inconsistent with precompiled header
# See https://github.com/scowalt/dolphin-vanguard/actions/runs/3773017863/jobs/6414258994
if: ${{ false }}
runs-on: windows-2019
steps:
- name: Checkout dolphin
uses: actions/checkout@v2
with:
repository: 'redscientistlabs/dolphin-vanguard'
ref: 'Vanguard'
path: 'dolphin-vanguard'
submodules: 'true'
- name: Checkout current build target
uses: actions/checkout@v2
with:
path: 'RTCV'
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
- name: Restore packages in RTCV
run: msbuild /t:restore '.\RTCV\RTCV.sln'
- name: Restore packages in dolphin-vanguard
run: msbuild /t:restore '.\dolphin-vanguard\Source\dolphin-emu.sln'
- name: Build with MSBuild
run: msbuild '.\dolphin-vanguard\Source\dolphin-emu.sln' /property:Configuration=Release /property:Platform=x64 /p:TreatWarningAsError=false
pcsx2:
runs-on: windows-2019
# pcsx2 builds aren't working. I suspect that submodules got messed up
# the last time `pcsx2-Vanguard` merged from upstream, but there
# could be additional issues as well.
if: ${{ false }}
steps:
- name: Checkout pcsx2
uses: actions/checkout@v2
with:
repository: 'redscientistlabs/pcsx2-Vanguard'
ref: 'Vanguard'
path: 'pcsx2-Vanguard'
submodules: 'recursive'
- name: Checkout current build target
uses: actions/checkout@v2
with:
path: 'RTCV'
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
- name: Restore packages in RTCV
run: msbuild /t:restore '.\RTCV\RTCV.sln'
- name: Restore packages in pcsx2-Vanguard
run: msbuild /t:restore '.\pcsx2-Vanguard\PCSX2_suite.sln'
- name: Build with MSBuild
run: msbuild '.\pcsx2-Vanguard\PCSX2_suite.sln' /property:Configuration=Debug /property:Platform=Win32
citra:
# Our citra fork can't yet build on Visual Studio 2022
# It requires QtCore prebuilt binaries, which are not available in our current fork
runs-on: windows-2019
steps:
# RTCV
- name: Checkout current build target
uses: actions/checkout@v2
with:
path: 'RTCV'
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
- name: Restore packages in RTCV
run: msbuild /t:restore '.\RTCV\RTCV.sln'
- name: Build RTCV
run: msbuild '.\RTCV\RTCV.sln'
# citra
- name: Checkout citra
uses: actions/checkout@v2
with:
repository: 'redscientistlabs/citra-vanguard'
ref: 'vanguard'
path: 'citra-vanguard'
submodules: 'recursive'
- name: Create Citra build directory
working-directory: ${{runner.workspace}}\RTCV\citra-vanguard
run: New-Item -ItemType Directory -Path build
- name: Citra prebuild
run: |
cd citra-vanguard\build
cmake .. -DCITRA_DONT_BUILD_DEDICATED_ROOM=true -DCITRA_DONT_BUILD_TESTS=true -DENABLE_SDL2=false -DCITRA_USE_BUNDLED_QT=1
- name: Citra build
run: |
cd citra-vanguard\build
msbuild citra.sln