sync UniMode enum with the N++ version #102
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: | |
fail-fast: false | |
matrix: | |
build_configuration: [Release, Debug] | |
build_platform: [x64, Win32, ARM64] | |
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: HexEditor\projects\2003\ | |
run: msbuild HexEditor.vcxproj /m /p:configuration="${{ matrix.build_configuration }}" /p:platform="${{ matrix.build_platform }}" /p:PlatformToolset="v143" | |
- uses: olegtarasov/[email protected] | |
id: tagName | |
- name: zip artifacts for ${{ matrix.build_platform }} | |
if: matrix.build_configuration == 'Release' | |
run: 7z a HexEditor_${{ steps.tagName.outputs.tag }}_${{ matrix.build_platform }}.zip .\HexEditor\projects\2003\${{ matrix.build_platform }}\${{ matrix.build_configuration }}\HexEditor.dll | |
- name: Archive artifacts for ${{ matrix.build_platform }} | |
if: matrix.build_configuration == 'Release' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: HexEditor_${{ steps.tagName.outputs.tag }}_${{ matrix.build_platform }}.zip | |
path: HexEditor_${{ steps.tagName.outputs.tag }}_${{ matrix.build_platform }}.zip | |
- name: Create release on tagging | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: HexEditor_${{ steps.tagName.outputs.tag }}_${{ matrix.build_platform }}.zip |