IBM / xmlservice

XML-based interface for accessing IBM i resources
https://xmlservice.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
35 stars 18 forks source link

Add GitHub actions for CI and release #57

Open ThePrez opened 2 years ago

ThePrez commented 2 years ago

PR is a mere suggestion as an alternative to Jenkins-based builds. I have no assertion that this PR should or need to land, but could be an interesting discussion

kadler commented 2 years ago

This is way more complicated than the Jenkins build, though the Jenkins build is more complicated on the backend (ie you need Jenkins set up).

ThePrez commented 2 years ago

This is way more complicated than the Jenkins build, though the Jenkins build is more complicated on the backend (ie you need Jenkins set up).

I agree. Though one benefit of the GH actions approach is that it can build a release and publish it to the GitHub release. Jenkins can probably do that too (and I am not sure how much utility there is, given it still ultimately ends up in a PTF)

ThePrez commented 2 years ago

Really should have folded #50 into these, since I also made a make target for a save file but in a much more rudimentary capacity

kadler commented 2 years ago

I agree. Though one benefit of the GH actions approach is that it can build a release and publish it to the GitHub release. Jenkins can probably do that too (and I am not sure how much utility there is, given it still ultimately ends up in a PTF)

I believe I have some code to do that IIRC. Got sidetracked testing with various compression tools to compress the save files since they are so big.

kadler commented 2 years ago

Changes here: https://github.com/IBM/xmlservice/compare/create-release?expand=1

Creates 3 XZ-compressed save files:

Example release built by the branch: https://github.com/IBM/xmlservice/releases/tag/test-tag