Keep wrapped table within visible width #46
This file contains hidden or 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, ARM64] | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Add msbuild to PATH | |
| uses: microsoft/setup-msbuild@v3 | |
| - name: Ensure ARM64 C++ build tools | |
| if: matrix.build_platform == 'ARM64' | |
| shell: pwsh | |
| run: .\scripts\Ensure-VsArm64Tools.ps1 | |
| - name: MSBuild of plugin dll | |
| working-directory: vs.proj\ | |
| run: msbuild MarkdownTableEditor.vcxproj /m /p:configuration="${{ matrix.build_configuration }}" /p:platform="${{ matrix.build_platform }}" | |
| - name: Core coverage | |
| if: matrix.build_platform == 'x64' && matrix.build_configuration == 'Debug' | |
| run: msbuild Package.proj /m /t:Coverage /p:Configuration=Debug /p:Platform=x64 | |
| - name: Core performance benchmarks | |
| if: matrix.build_platform == 'x64' && matrix.build_configuration == 'Release' | |
| run: msbuild Package.proj /m /t:CorePerformance /p:Configuration=Release /p:Platform=x64 | |
| - name: Upload coverage to Codecov | |
| if: matrix.build_platform == 'x64' && matrix.build_configuration == 'Debug' | |
| uses: codecov/codecov-action@v7 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: build/reports/coverage/coverage.cobertura.xml | |
| disable_search: true | |
| flags: cpp-core | |
| name: notepad-markdown-table-editor | |
| fail_ci_if_error: false | |
| - 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: bin64\MarkdownTableEditor.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: bin\MarkdownTableEditor.dll | |
| - name: Archive artifacts for ARM64 | |
| if: matrix.build_platform == 'ARM64' && matrix.build_configuration == 'Release' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: plugin_dll_arm64 | |
| path: arm64\MarkdownTableEditor.dll | |
| npp-ui-smoke: | |
| runs-on: windows-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Add msbuild to PATH | |
| uses: microsoft/setup-msbuild@v3 | |
| - name: Notepad++ compatibility smoke | |
| shell: pwsh | |
| run: msbuild Package.proj /t:NppCompatibilitySmoke |