Refactored the class ResultSet to avoid copying the PGresult, #1038
Workflow file for this run
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 build | |
| on: | |
| push: | |
| branches: [ main, develop, 1.* ] | |
| tags: 1.* | |
| pull_request: | |
| branches: [ main, develop, 1.* ] | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| strategy: | |
| matrix: | |
| qt: ['6.x'] | |
| defaults: | |
| run: | |
| shell: msys2 {0} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: msys2/setup-msys2@v2 | |
| with: | |
| msystem: MINGW64 | |
| update: true | |
| install: base-devel mingw-w64-x86_64-make mingw-w64-x86_64-clang mingw-w64-x86_64-postgresql mingw-w64-x86_64-qt6 | |
| # Workaround: Instead of using $GITHUB_WORKSPACE in PREFIX we actually use the path converted to unix-like | |
| # since we're running the building inside msys2 | |
| - name: Running qmake | |
| run: | | |
| cd $GITHUB_WORKSPACE; | |
| qmake-qt6 pgmodeler.pro -spec win32-clang-g++ -r PREFIX=D:/a/pgmodeler/pgmodeler/build \ | |
| XML_INC=$(cygpath -m /mingw64/include/libxml2) \ | |
| XML_LIB=$(cygpath -m /mingw64/bin/libxml2-2.dll) \ | |
| PGSQL_INC=$(cygpath -m /mingw64/include) \ | |
| PGSQL_LIB=$(cygpath -m /mingw64/bin/libpq.dll) \ | |
| CONFIG+=debug | |
| - name: Building pgModeler | |
| run: mingw32-make -j6 | |
| - name: Deploying pgModeler | |
| run: mingw32-make install |