[19997] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: Use GitHub Actions for builds

daemon@ATHENA.MIT.EDU (Michael Mattioli)
Mon Dec 2 06:13:08 2019

From: Michael Mattioli <mattiolimichael@gmail.com>
MIME-Version: 1.0 (1.0)
Date: Mon, 2 Dec 2019 06:12:56 -0500
Message-ID: <7089E648-F87F-4741-8278-B51EE6B9AD8A@gmail.com>
In-Reply-To: <9b80eeca-0d46-b574-12f6-de19c48253da@mit.edu>
To: Greg Hudson <ghudson@mit.edu>
Cc: krbdev@mit.edu
Content-Type: text/plain; charset="utf-8"
Errors-To: krbdev-bounces@mit.edu
Content-Transfer-Encoding: 8bit

> I was just starting to look into Github Actions for krb5 over the long
> weekend weekend, partly to see if I could be more successful at setting
> up a MacOS job than I was with Travis. 

What compiler, flags, etc. did you want to test on macOS? They only provide the latest version of macOS (10.15, Catalina). I can give it a spin and see if it works. 

Mike
Sent from my iPhone

> On Dec 2, 2019, at 1:11 AM, Greg Hudson <ghudson@mit.edu> wrote:
> 
> On 12/1/19 11:16 PM, Michael Mattioli wrote:
>> I pushed a commit to my fork which replaces Travis and AppVeyor with GitHub
>> Actions for builds.
> 
> I was just starting to look into Github Actions for krb5 over the long
> weekend weekend, partly to see if I could be more successful at setting
> up a MacOS job than I was with Travis.  Having a mostly-complete
> baseline will save a lot of work.
> 
> If tests runs significantly faster than they do under Travis/Appveyor,
> that may be a reason to switch over.  If they don't, and I can't get a
> MacOS job working, I don't know if there will be a good reason to switch.
> 
>> - I had to remove the installation of slapd on the linux builds because the
>> package it was trying to install was asking for user input which isn't
>> possible in an automated environment. Despite removing it from
>> installation, there are no errors in the three linux build variants.
> 
> t_kdb.py detects that slapd is not present and skips those tests.  The
> skiptest contents in the builds generated by your branch says:
> 
> Skipped URI discovery tests: resolv_wrapper 1.1.5 not found
> 5808
> Skipped LDAP KDB tests: slapd not found
> 
> while the Travis integration currently doesn't skip anything.  I will
> look into why slapd can't be installed and why resolv_wrapper isn't found.
> 
> (Ever since we added "make clean" checking to the Travis job, it's a lot
> harder to see what tests are skipped.  I might make the CI script
> re-display the skiptests file at the end of the script to fix that.)
> 
>> - The Windows build is failing at what seems to be a syntax error
>> somewhere? The output from the log where it seems to be failing is from
>> this command: perl -w .\../util/def-check.pl private-and-public-decls
>> .\../lib/krb5_32.def
> 
> This is probably a newline issue, since it's complaining about a
> function name spanning multiple lines of text.  github's Windows runner
> may have a preinstalled git with different default behavior.  I will
> look into that as well.

_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev


home help back first fref pref prev next nref lref last post