Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eliminate build script #82

Merged
merged 4 commits into from
Nov 8, 2021
Merged

Eliminate build script #82

merged 4 commits into from
Nov 8, 2021

Conversation

Myoldmopar
Copy link
Member

Modify the CI scripts to use workflow commands, instead of the premade build script. Once issues from the first commit are worked out, the build script will be removed entirely, cleaning up the repo.

add_data: "epregressions/diffs/math_diff.config:epregressions/diffs"
pack_tool: tar -zcvf
extension: .tar.gz
pack_suffix: -C dist runner
Copy link
Member Author

Choose a reason for hiding this comment

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

Pulled some new args into the workflow matrix. I wish I could collapse them down a little, but I think this is fine. I don't anticipate it getting much bigger.

- name: Fixup Installer
run: |
VERSION_STRING=$(grep VERSION epregressions/__init__.py | cut -d= -f2 | xargs)
${{ matrix.pack_tool }} deploy/EnergyPlusRegressionTool-"${VERSION_STRING}"-${{ matrix.os }}${{ matrix.extension }} ${{ matrix.pack_suffix }}
Copy link
Member Author

Choose a reason for hiding this comment

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

This section replaces the build script. Same commands executed, just keeping it right in the CI workflow file.

@Myoldmopar Myoldmopar merged commit f8696be into master Nov 8, 2021
@Myoldmopar Myoldmopar deleted the RemoveBuildScript branch November 8, 2021 19:14
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.

None yet

1 participant