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

Simplify conditonal build steps #4

Open
epage opened this issue Feb 18, 2018 · 4 comments
Open

Simplify conditonal build steps #4

epage opened this issue Feb 18, 2018 · 4 comments

Comments

@epage
Copy link
Contributor

epage commented Feb 18, 2018

Examples

  • Build step on only on a given channel
  • Build step if a env variable is set to X
@epage
Copy link
Contributor Author

epage commented Feb 18, 2018

cargo-when is a good candidate for this

cargo when --channel stable,beta build

Unfortunately, it doesn't seem to be getting any love. Desired work

  • pre-built binaries
  • environment support

I reached out to the author for joining effort (starkat99/cargo-when#2) but haven't heard back.

The repo hasn't been touched in 2 years but the author is still active on github.

@epage
Copy link
Contributor Author

epage commented Feb 19, 2018

CAD97 pointed this out to me, seems interesting: http://cs.furman.edu/~cdurham/experiments/Rust/ci_detective/

@CAD97 should some of the conditional steps you've adding to ghp-upload be integrated into this tool?

@CAD97
Copy link

CAD97 commented Feb 19, 2018

Yes, that's why I'm writing it :) (that's my school webserver, I also could have put it on cad97.com but didn't feel like it)

It's still very much in experimentation phase. But it should allow further CI tools to build on top of it without having to do the doc-crawling of various CI environment setups that I'm doing right now.

@epage
Copy link
Contributor Author

epage commented Feb 19, 2018

Just to be clear, the idea here is make a command line tool (one exists; trying to reuse it) So instead of baking the CI policy into ghp-upload for when to run, you pass conditions to this wrapper. it then decides when to invoke your tool.

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

No branches or pull requests

2 participants