diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec5d80e..a8fef31 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - nif: ["2.16", "2.15"] + nif: ["2.17", "2.16", "2.15", "2.14"] job: - { target: arm-unknown-linux-gnueabihf , os: ubuntu-20.04 , use-cross: true } - { target: aarch64-unknown-linux-gnu , os: ubuntu-20.04 , use-cross: true } diff --git a/native/bzip2_decomp/Cargo.toml b/native/bzip2_decomp/Cargo.toml index be1d197..7bec117 100644 --- a/native/bzip2_decomp/Cargo.toml +++ b/native/bzip2_decomp/Cargo.toml @@ -10,5 +10,5 @@ path = "src/lib.rs" crate-type = ["cdylib"] [dependencies] -rustler = { version = "0.30.0", default-features = false, features = ["derive", "nif_version_2_17"] } +rustler = { version = "0.30.0", default-features = false, features = ["derive", "nif_version_2_14"] } bzip2-rs = { git = "https://github.com/paolobarbolini/bzip2-rs.git", rev = "82e3cbb4ea6cb4249a43f90b06ae1a5e94f06a9f"} diff --git a/native/bzip2_decomp/Cross.toml b/native/bzip2_decomp/Cross.toml new file mode 100644 index 0000000..0f94546 --- /dev/null +++ b/native/bzip2_decomp/Cross.toml @@ -0,0 +1,6 @@ +# https://hexdocs.pm/rustler_precompiled/precompilation_guide.html#additional-configuration-before-build +# Ostensibly we don't need this, but actions is yelling at me so I'm adding it. +[build.env] +passthrough = [ + "RUSTLER_NIF_VERSION" +] \ No newline at end of file