Make macOS build on Travis #16
No reviewers
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
Epic
good first issue
hacktoberfest
hard fork
help wanted
icebox
Invalid
level: 0
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
resilience
soft fork
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
work in progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbrycrd#16
Loading…
Reference in a new issue
No description provided.
Delete branch "build-oxs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sigh. This turned into a beast. First, travis has a 4mb log limit which boost blasted right through. So I piped the
make
stdout to a file. Then, travis will timeout a build if it doesn't see anything on stdout for 10 minutes, so I had to backgroundmake
and echo a "I'm still alive" message every minute. Then, travis has a 50 minute timeout so I had to add caching and checks for whether the cache had been populated or not. The staged boost installation is very large and would timeout the cache upload, so I switched over to an installed boost.This is easily the most complicated bash script I've ever written.
Once this gets reviewed, I'll rebase everything down into one commit before merging.
You should run this through http://www.shellcheck.net . You don't have to fix everything because its very nitpicky, but it may have good ideas there.
Also, can you make it do the right thing by default when you run it outside of travis? I think you just have to set CLONE and TRACE to true by default.
Looking at the rest now...
Pull request closed