Skip to content

Conversation

@ethomson
Copy link
Member

@ethomson ethomson commented Oct 16, 2019

Update the build scripts to produce a linux-x64 package.

The build scripts will now propagate failures, so CI runs will fail if artifacts were not produced (instead of giving the appearance of success, and ultimately producing nupkgs that lacked the artifacts). The linux and rhel images now install a newer version of cmake, required for building libgit2.

Use `set -e` to exit the build script immediately upon failure and
propagate that build error to the caller.
@ethomson ethomson force-pushed the ethomson/update_libgit2 branch 2 times, most recently from 72c33cc to 1c25754 Compare October 16, 2019 13:36
libgit2 now requires a cmake from within the most recent half decade.
Use a newer version during the build.
@ethomson ethomson force-pushed the ethomson/update_libgit2 branch from 1c25754 to 55210cc Compare October 16, 2019 13:43
@ethomson ethomson merged commit 89fb927 into master Oct 16, 2019
@bording bording deleted the ethomson/update_libgit2 branch October 16, 2019 15:40
COPY . /nativebinaries/

RUN apt update && apt -y install cmake libssl-dev pkg-config
RUN apt update && apt -y install libssl-dev pkg-config curl make gcc build-essential
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity, why did you remove the old cmake from being installed here, but didn't alter it in the same way for the rhel-x64 file?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oversight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants