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

Adapt to HEMTT #1145

Merged
merged 30 commits into from
Mar 17, 2020
Merged

Adapt to HEMTT #1145

merged 30 commits into from
Mar 17, 2020

Conversation

jonpas
Copy link
Member

@jonpas jonpas commented May 14, 2019

When merged this pull request will:

  • Use HEMTT as build system (uses armake2)
  • Add build.bat for quick Windows builds without command line and build_release.bat for release builds
  • Add script setup.bat to download project-specific HEMTT binary
    • No Linux script as downloading an artifact requires authentication
  • Swap Travis CI and Circle CI with GitHub Actions
    • No builds yet as Actions HEMTT is too old version (/ comment bug)
  • Add custom HEMTT versioning script
    • Update versions in files (like make.py) in prebuild and reset in postbuild
    • Version source is addons/main/script_version.hpp
  • Documentation

TODO armake2/HEMTT:


TODO CBA Later (User):

TODO HEMTT Later:

@jonpas jonpas added this to the Ongoing milestone May 14, 2019
@jonpas jonpas mentioned this pull request May 14, 2019
11 tasks
@jonpas
Copy link
Member Author

jonpas commented Jun 20, 2019

Release/publish procedure idea (in combination with BrettMayson/HEMTT#16 (comment))

$ hemtt version -i minor
$ hemtt build --release -f
$ hemtt run publish

Configuration to achieve above:

version = "3.12.0.{{date \"%y%m%d\"}}" # eg. "3.12.0.190515"

[scripts.publish]
show_output = true
steps = [
    "@version -i build", # Would automatically use date specifier as above
    "git commit -am \"Bump to v{{version}}\"",
 	"git push"
]

Ideally, we could also do the following, but HEMTT needs to support running its own commands from user-defined scripts.

$ hemtt version -i minor
$ hemtt run release # Update versions, commits them, build release (maybe better name?)
[scripts.release]
show_output = true
steps = [
    "@version -i build", # Would automatically use date specifier as above
    "git commit -am \"Bump to v{{version}}\"",
    "build --release -f", # After version commit, we want headerext to be up-to-date
 	"git push" # Push prep/bump commit
]

@commy2
Copy link
Contributor

commy2 commented Jun 22, 2019

Why does it delete comments at the end of the line? They are actually helpful.

@jonpas
Copy link
Member Author

jonpas commented Jun 22, 2019

Why does it delete comments at the end of the line? They are actually helpful.

Again, read the commit title. It is temporary so I can test the rest until it gets fixed in armake2. It's even on TODO above...

@jonpas jonpas changed the title WIP Adapt to HEMTT WIP Adapt to HEMTT (CI) Feb 9, 2020
@jonpas jonpas added Needs Testing and removed WIP labels Mar 14, 2020
@jonpas jonpas changed the title WIP Adapt to HEMTT (CI) Adapt to HEMTT Mar 14, 2020
@jonpas jonpas merged commit 27ff176 into master Mar 17, 2020
@jonpas jonpas deleted the hemtt branch March 17, 2020 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants