Comments (2)
Dave Cramer,
I read the Travis file travis.yml, and based on what I read, I made a Github Actions file .github/workflows/build.yml. Using the new build.yml file and Github Actions, I successfully built and tested plr with versions of PostgreSQL from 9.5 through 13.
In the file ".github/workflows/build.yml" only some minor changes were done.
- Changed
setfacl -Rm u:postgres:rwx,d:u:travis:rwx $HOME
to
sudo setfacl -Rm u:postgres:rwx,d:u:runner:rwx /home/runner
In Travis, the build-test runs under "travis".
In Github Actions, the build-test runs under "runner".
In Travis, $HOME may be volatile.
In Github Actions, $HOME is static at /home/runner.
In Travis, to use "setfacl", elevated privileges are not needed.
In Github Actions, to use "setfacl", elevated priviledges are needed.
- Changed
sudo make install
to
sudo USE_PGXS=1 make install
In Travis, the first former case works.
In Github Actions, the former case does not work; I received errors.
To make the build-test work, I used "USE_PGXS=1".
Changed
single-line commands
into
multi-line commands
This was not required. This minimized the number of processes. It looks cleaner.
Here is the commit
AndreMikulec@9da5156
in branch
https://github.com/AndreMikulec/plr/tree/83_Convert_Linux_Tests_on_Travis_to_Tests_on_Github_Actions
Here is the build result.
https://github.com/AndreMikulec/plr/actions/runs/669678071
Here is the PostgreSQL 13 run result.
https://github.com/AndreMikulec/plr/runs/2153212316?check_suite_focus=true
What do you think?
Do you think that build-tests, using Github Actions, may become a permanent part of "postgres-plr?
from plr.
Well the simplest solution would be to move to travis-ci.com, but I prefer github actions. So I'd be up for this. Can you create a PR for it
from plr.
Related Issues (20)
- Implement PostgreSQL 11 Transaction Management
- Test plr upon the new major release of R: R 4.1.0 (not a bug fix) HOT 2
- Figure out how skip ci for non code changes
- Release 8.4.2 HOT 4
- Changelog should have an example of a custom type (tuple) argument in a window function
- Need to revert this change HOT 1
- Tagging the project no longer releases the tag HOT 9
- Test and Build PL/R on PostgreSQL 14 HOT 4
- Can't ALTER EXTENSION ... UPDATE from 8.4.2 to 8.4.4 HOT 3
- Package libR was not found in the pkg-config search path HOT 4
- Fix the pgcrypto position error in the Windows build that uses pg master HOT 2
- 8_4_5 release is missing from releases section of github HOT 5
- Fix Code Documentation HOT 2
- Could not load library plr.dll HOT 21
- Update appveyor to pg v14 and R v 4.2.0 HOT 6
- Build PL/R on PG15 and R_4.2.1 and 4.1.3 HOT 4
- New R 4.3.0 with Visual Studio on Windows challenges HOT 3
- Build_plr_with_Microsoft_Visual_Studio_2022 HOT 4
- General documentation updates HOT 8
- Non-MSVC Installs Should Have the plr--8.3.0.18--8.4.sql Converter File HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plr.