OK . … in this case what ‘action’ is actually run?

> On 16 Feb 2021, at 12:25 pm, Ed . <ej...@hotmail.com> wrote:
> 
> CI is “continuous integration”, run every time a commit is pushed to the 
> server (or a pull request is created or updated) to give instant feedback on 
> problems. GitHub Actions is the new-ish service provided by GitHub for this. 
> It’s much better than Travis now is, given Travis are deliberately turning 
> off their open-source support.
>  
> GitHub actions are configured in the files under .github. There are tutorials 
> which are very good, but the starting point we have works, which always helps 
> 😊
>  
> From: Karl Glazebrook <mailto:karlglazebr...@mac.com>
> Sent: 16 February 2021 01:22
> To: Ed . <mailto:ej...@hotmail.com>
> Cc: pdl-general@lists.sourceforge.net 
> <mailto:pdl-general@lists.sourceforge.net>
> Subject: Re: pgplot instructions for Big Sur macOS
>  
>  
> Hi Ed
>  
> Sorry for the dumb question - can you explain what ' GitHub Action CI’ is? Do 
> I need to know about it?
>  
> Karl
>  
> 
> 
> On 15 Feb 2021, at 4:26 pm, Ed . <ej...@hotmail.com 
> <mailto:ej...@hotmail.com>> wrote:
>  
> I’ve updated the CPAN PGPLOT somewhat, including adding GitHub Action CI. I 
> tried to make it also test on MacOS by using your instructions, but I don’t 
> know enough about the MacOS specifics. I’ve left the attempt on a branch, 
> hopefully a Mac expert (Karl? 😊) can fix it: 
> https://github.com/PDLPorters/perl5-PGPLOT/tree/macos-ci 
> <https://github.com/PDLPorters/perl5-PGPLOT/tree/macos-ci>
>  
> From: Karl Glazebrook <mailto:karlglazebr...@mac.com>
> Sent: 14 January 2021 00:26
> To: Ed . <mailto:ej...@hotmail.com>
> Cc: pdl-general@lists.sourceforge.net 
> <mailto:pdl-general@lists.sourceforge.net>
> Subject: Re: pgplot instructions for Big Sur macOS
>  
> Hi all
>  
> An update on this. The config there uses Apple’s CC, but I have now come 
> across some random segv’s that seem to be avoided if one uses GCC 11 and 
> GFORTRAN 11.
>  
> So I would recommend editing gfortran_cc_BigSur.conf from that patch to use 
> GCC - and take it from http://hpc.sourceforge.net 
> <http://hpc.sourceforge.net/> (which is where I got GFORTRAN)
>  
> Karl
>  
> 
> 
> 
> On 7 Jan 2021, at 4:57 pm, Karl Glazebrook <karlglazebr...@mac.com 
> <mailto:karlglazebr...@mac.com>> wrote:
>  
> Here you go Ed et al:
> 
> This below installs a fully functioning pgplot on my Big Sur ARM Mac in 
> /usr/local/pgplot. I expect it will also work the same on Big Sur Intel. You 
> need to have prerequisites:
> 1. Macports X11 installed in the usual place under /opt/…  (I have 
> xorg-server 1.20.10)
> 2. gfortran installed in /usr/local/... (I have version '11.0.0 20201128 
> (experimental)’ installed from http://hpc.sourceforge.net 
> <http://hpc.sourceforge.net/>)
> Things are dynamically linked.
> 
> 
> # Run these shell commands to install pgplot
> curl --remote-name 
> https://astronomy.swin.edu.au/~karl/pgplot/pgplot531.tar.gz 
> <https://astronomy.swin.edu.au/~karl/pgplot/pgplot531.tar.gz>
> curl --remote-name 
> https://astronomy.swin.edu.au/~karl/pgplot/pgplotpatch.diff 
> <https://astronomy.swin.edu.au/~karl/pgplot/pgplotpatch.diff>
> tar xvf pgplot531.tar.gz
> cd pgplotsrc
> patch  -p 1 -i ../pgplotpatch.diff
> SRC=$PWD
> sudo mkdir /usr/local/pgplot
> cd  /usr/local/pgplot
> sudo cp $SRC/drivers.list .
> sudo $SRC/makemake $SRC/ darwin gfortran_cc_BigSur
> sudo make
> sudo make clean
> ./pgdemo1 # Works
> 
> 
> 
> I hope that can be passed on to the Macports, Homebrew people to take what 
> tricks they need from this. I guess the patch and the latest hard to find 
> pgplot tarball is the most important thing. The patch selects drivers that 
> work and are relevant today, fixes up the makefile generator, and changes one 
> line of code in the png driver to avoid an error.
> 
> cheers
> 
> Karl
> 
> 
> 
> 
> On 6 Jan 2021, at 2:18 am, Ed . <ej...@hotmail.com 
> <mailto:ej...@hotmail.com>> wrote:
> 
> Hi Karl,
> 
> Could you capture on here what lines of code etc you changed, hopefully along 
> with all the software versions you used etc, so that ideally someone else 
> arriving fresh could do exactly what you did and get the same results?
> 
> Best regards,
> Ed

_______________________________________________
pdl-general mailing list
pdl-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to