postgres-plr / plr

PL/R - R Procedural Language for PostgreSQL
GNU General Public License v2.0
123 stars 27 forks source link

Update versions of PG and R. Support. Introduce the meson build system. #144

Closed AndreMikulec closed 1 year ago

AndreMikulec commented 1 year ago

appveyor.yml - In the matrix, remove the last rversion: 4.1.3 that can compile on x86 except keep with the last x86 PG version 10 for windows.

appveyor.yml - add msvc Win32(x86), add msys2 x86, add cygwin x86

appveyor.yml - When using Micrsoft Visual Studio 2017 and older, in the duplicate 'plr' entry is required. This demonstrated and tested in the appveyor.yml matrix.

.github\workflows\build.yml - In syntax only, remove the redundant version combinations. No change.

                        - Github Actions run-name

.github\workflows\schedule.yml - Github Actions run-name

install.md and userguide.md - Update the documentation to reflect PostgreSQL version 16 and the latest R version 4.3.1.

.github\workflows*meson*

- meson builds: Windows using MSYS2(UCRT64)
  and PostgreSQL 16, 15, 14, 10(x86); cygwin x64.
- MSYS2(UCRT64) build can be configured to do two(2) regression
  tests.
-   1. PostgreSQL for MSYS2.
-   2. PostgreSQL for Windows (from EnterpriseDB).
- meson.build type 1:
    PG16+ only - in-source-contrib - contrib/plr/build.meson.
    PL/R is compiled with the rest of PostgreSQL 16+.
    This build leverages the meson build system introducted in
    PostgreSQL 16.
    The user needs to guarantee/set the Rlib, PATH and R_HOME.
- meson.build type 2: Old x86 PG version 10 and recent x64 PG
    versions from master and 16
    and tested back through PG13 - in-binary-contribplr.
    PL/R  binds to an already pre-compiled PostreSQL.
    This build is/can_be independent of any
    "meson build system introducted in PostgreSQL 16."
    The user needs to guarantee/set the
    Rlib,libpq,libpostgres, PATH and R_HOME.
- some starter Microsoft Visual Studio support.
  Currently, only installs msvc pre-required software.

Note, of the file .github\workflows\buildPLR.yml, to send the 'pushed tag'assets to the Github repository release location, one needs to setup . . .

the https://github.com/ncipollo/release-action token: ${{ secrets.ACTIONS_CREATE_RELEASE_REPO_SECRET }}

This secret ACTIONS_CREATE_RELEASE_REPOSECRET has the same content (and the secret starts with the letters ghp) as https://github.com/settings/tokens tokens(classic)

The selected scopes are "repo" and all of its sub-scopes.

codecov-commenter commented 1 year ago

Codecov Report

Merging #144 (fbbad67) into master (20a1f13) will not change coverage. The diff coverage is n/a.

:exclamation: Current head fbbad67 differs from pull request most recent head 2d981f1. Consider uploading reports for the commit 2d981f1 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

@@           Coverage Diff           @@
##           master     #144   +/-   ##
=======================================
  Coverage   73.15%   73.15%           
=======================================
  Files           5        5           
  Lines        2172     2172           
=======================================
  Hits         1589     1589           
  Misses        583      583           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more