Modify bug report template for nui-sftp #185
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: Windows | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| pull_request: | |
| branches: ["main"] | |
| env: | |
| BUILD_TYPE: Release | |
| BUILD_DIR: build/clang_release | |
| jobs: | |
| windows-msys2: | |
| runs-on: windows-latest | |
| defaults: | |
| run: | |
| shell: msys2 {0} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-tags: true | |
| fetch-depth: 0 | |
| submodules: recursive | |
| - uses: msys2/setup-msys2@v2 | |
| with: | |
| path-type: inherit | |
| msystem: clang64 | |
| release: true | |
| install: >- | |
| make | |
| libcurl | |
| unzip | |
| git | |
| zip | |
| mingw-w64-clang-x86_64-clang | |
| mingw-w64-clang-x86_64-cmake | |
| mingw-w64-clang-x86_64-boost | |
| mingw-w64-clang-x86_64-crypto++ | |
| mingw-w64-clang-x86_64-ninja | |
| mingw-w64-clang-x86_64-python | |
| mingw-w64-clang-x86_64-pugixml | |
| mingw-w64-clang-x86_64-fmt | |
| mingw-w64-clang-x86_64-libssh | |
| mingw-w64-clang-x86_64-cppwinrt | |
| mingw-w64-clang-x86_64-zlib | |
| mingw-w64-clang-x86_64-bzip2 | |
| mingw-w64-clang-x86_64-zstd | |
| mingw-w64-clang-x86_64-xz | |
| mingw-w64-clang-x86_64-imagemagick | |
| mingw-w64-clang-x86_64-librsvg | |
| - name: Workspace Path Fixup | |
| run: | | |
| echo "WSPACE=$(cygpath '${{ github.workspace }}')" >> "$GITHUB_ENV" | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - name: Test node | |
| run: node --version && whereis node | |
| - name: Configure CMake | |
| run: | | |
| cmake \ | |
| -B "${{ env.WSPACE }}/${{ env.BUILD_DIR }}" \ | |
| -G Ninja \ | |
| -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \ | |
| -DCMAKE_C_COMPILER=clang \ | |
| -DCMAKE_CXX_COMPILER=clang++ \ | |
| -DCMAKE_LINKER=lld \ | |
| -DCMAKE_CXX_EXTENSIONS=on \ | |
| -DNUI_ENABLE_TESTS=off \ | |
| -DNUI_BUILD_EXAMPLES=off \ | |
| -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ | |
| -DCMAKE_CXX_STANDARD=23 \ | |
| -DJSON_Diagnostics=ON \ | |
| -DNUI_FETCH_TRAITS=OFF \ | |
| -DNUI_BUILD_XML_TOOL=ON \ | |
| - name: Build | |
| run: | | |
| cmake --build \ | |
| "${{ env.WSPACE }}/${{ env.BUILD_DIR }}" \ | |
| --config "${{ env.BUILD_TYPE }}" | |
| - name: Run Deploy | |
| run: | | |
| cd "${{ env.WSPACE }}" && bash scripts/deploy.sh |