lutaml / expressir

Ruby parser for the ISO EXPRESS language
3 stars 3 forks source link

Use (x86_64/aarch64)-linux-gnu target platform for native extensions instead of (x86_64/aarch64)-linux #138

Closed maxirmx closed 10 months ago

maxirmx commented 11 months ago

Rubygems/bundler allow (x86_64/aarch64)-linux-gnu, (x86_64/aarch64)-linux-musl, (x86_64/aarch64)-linux target platform for native extensions.

When (x86_64/aarch64)-linux-musl is not available Ruby loads (x86_64/aarch64)-linux on Alpine Linux. Previous versions of CI for this gem optimistically used rake-compiler defaul that created (x86_64/aarch64)-linux extension although in most cases it was not compatible with musl environment even with gcompat package installed.

So in this PR native extension target is changed to (x86_64/aarch64)-linux-gnu . On Alpine Linux bundler/Rubygems build bantive extension from sources.

There is another issue (#105) that calls for publishing (x86_64/aarch64)-linux-musl native extension.

ronaldtse commented 10 months ago

@maxirmx there’s a single test failure in the Windows test, seems that the tests weren’t even run. Is that something that can be fixed? Thanks!

maxirmx commented 10 months ago

@maxirmx there’s a single test failure in the Windows test, seems that the tests weren’t even run. Is that something that can be fixed? Thanks!

It is the same segfault as in #139. On Windows race jsut terminates without any error message.