• Alex Hornby's avatar
    add github actions for EdenFS on linux and fix Eden SCM Mac build (#106) · 36cd1d7e
    Alex Hornby authored
    Summary:
    Pull Request resolved: https://github.com/facebookexperimental/eden/pull/106
    
    Pull Request resolved: https://github.com/facebookexperimental/eden/pull/107
    
    Summary
    
    * Add EdenFS builds on external CI now EdenSCM is good
    
    * Mac builds on github actions by using brew for system dependencies
    
    To make this work had to fix some path ordering issues with install directories for Linux and Mac, and generalise the homebrew path fixups we were doing for bison to all the used homebrew packages.
    
    Previously Installed packages were being added after system paths, so our own installed thing might be ignored. On github these meant system python 3.9 was being used for hg tests rather than our specified 3.8 (this showed we have some test fails on python 3.9 with "SystemError: deallocated bytearray object has exported buffers", that are beyond the scope of this diff to fix)
    
    Also needed to include the getdeps generated python into the generated edenscmdeps3.zip archive setup.py produces otherwise EdenFS tests failed to import thrift.Thrift
    
    Eden tests are hanging when run externally about half way through, so disable them on github actions for now as this PR is already fairly large. They work when run locally on an internal devserver, so probably some bit of environment necessary is not defined in the test runner
    
    Reviewed By: chadaustin
    
    Differential Revision: D34116505
    
    fbshipit-source-id: d0d628db5daabc28d0bd8997cd5c1bc885ed1e73
    36cd1d7e
bz2 449 Bytes