-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from kjsanger/chore/build-refactor
Refactor the build to use a build directory
- Loading branch information
Showing
4 changed files
with
27 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,19 +41,16 @@ jobs: | |
echo 'GIT_URL='$(git remote get-url origin) >> $GITHUB_ENV | ||
echo 'GIT_COMMIT='$(git log --pretty=format:'%H' -n 1) >> $GITHUB_ENV | ||
- name: "Build executables" | ||
- name: "Build distribution" | ||
run: | | ||
make build | ||
for f in sqyrrl-*; do | ||
sha256sum "$f" > "$f.sha256" | ||
done | ||
make dist | ||
- name: "Create Release" | ||
uses: ncipollo/[email protected] | ||
with: | ||
name: ${{ env.RELEASE_VERSION }} | ||
prerelease: ${{ !(github.sha == env.MASTER_SHA) }} | ||
artifacts: "sqyrrl-*" | ||
artifacts: "./build/*.tar.bz2,./build/*.tar.bz2.sha256" | ||
removeArtifacts: true | ||
artifactErrorsFailBuild: true | ||
generateReleaseNotes: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,8 @@ | |
.idea/ | ||
|
||
# Local outputs | ||
sqyrrl-* | ||
build/ | ||
*.log | ||
|
||
# Local iRODS auth files | ||
.irodsA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters