Updated the version of the toolkit from 2019 to 2022. #109
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI_build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
max-parallel: 6 | |
matrix: | |
build_configuration: [Release, Debug] | |
build_platform: [x64, Win32] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v2 | |
- name: MSBuild of plugin dll | |
working-directory: vstudio\vs.proj\ | |
run: msbuild NppPluginTemplate.vcxproj /m /p:configuration="${{ matrix.build_configuration }}" /p:platform="${{ matrix.build_platform }}" /p:PlatformToolset="v142" | |
- name: Archive artifacts for x64 | |
if: matrix.build_platform == 'x64' && matrix.build_configuration == 'Release' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: plugin_dll_x64 | |
path: vstudio\bin64\DiscordRPC.dll | |
- name: Archive artifacts for Win32 | |
if: matrix.build_platform == 'Win32' && matrix.build_configuration == 'Release' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: plugin_dll_x86 | |
path: vstudio\bin\DiscordRPC.dll |