rnpgp / ruby-rnp

Ruby bindings for librnp
https://www.rnpgp.org
MIT License
7 stars 3 forks source link

Add CI auto-release on tag #73

Closed ronaldtse closed 2 years ago

ronaldtse commented 2 years ago

Using the RNP_RUBYGEMS_API_KEY secret.

CAMOBAP commented 2 years ago

Release workflow by itself is not hard, I assume that we need to cook platform gems with this one too because current implementation relies on preinstalled librnp

For now, I simplified the compilation process, so we can compile lib rnp from rake task

@ronaldtse to be on the same page do we need platform gems for this repository at all? (as we have on https://github.com/lutaml/expressir or https://github.com/fontist/ffi-libarchive-binary)

ronaldtse commented 2 years ago

@CAMOBAP good call. In fact, ruby-rnp should work in a few ways:

  1. Support system RNP. Many systems now have RNP as an official package.
  2. Support compilation if there is binary platform gem.
  3. Support platform binary gems.

So the situation is very similar with Nokogiri.

CAMOBAP commented 2 years ago

Original task is done

Also, I have good progress for 2, 3 points

We still need some changes on rnp to make the compilation process simpler and less dependent on external libs (especially for windows)