diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2eb7aaac..d74e828d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,11 +44,26 @@ jobs: rust_toolchain: stable - os: windows-2022 rust_toolchain: stable - include: - - ruby_version: mswin + exclude: + # Missing symbols for some reason, need to fix + - ruby_version: "2.6" sys: - os: windows-2022 - rust_toolchain: stable-x86_64-pc-windows-msvc + os: macos-latest + rust_toolchain: stable + - ruby_version: "2.7" + sys: + os: macos-latest + rust_toolchain: stable + - ruby_version: "3.1" + sys: + os: macos-latest + rust_toolchain: stable + # MSC version mismatch, need to fix + # include: + # - ruby_version: mswin + # sys: + # os: windows-2022 + # rust_toolchain: stable-x86_64-pc-windows-msvc runs-on: ${{ matrix.sys.os }} steps: - uses: actions/checkout@v4 diff --git a/Cargo.lock b/Cargo.lock index 88de622f..6aa0cd52 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -240,7 +240,7 @@ dependencies = [ [[package]] name = "rb-sys" -version = "0.9.97" +version = "0.9.98" dependencies = [ "rb-sys", "rb-sys-build", @@ -249,7 +249,7 @@ dependencies = [ [[package]] name = "rb-sys-build" -version = "0.9.97" +version = "0.9.98" dependencies = [ "bindgen", "lazy_static", @@ -284,7 +284,7 @@ dependencies = [ [[package]] name = "rb-sys-tests" -version = "0.9.97" +version = "0.9.98" dependencies = [ "rb-sys", "rb-sys-env", diff --git a/crates/rb-sys-build/Cargo.toml b/crates/rb-sys-build/Cargo.toml index 7ded8a64..3a8fda85 100644 --- a/crates/rb-sys-build/Cargo.toml +++ b/crates/rb-sys-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rb-sys-build" -version = "0.9.97" +version = "0.9.98" edition = "2018" description = "Build system for rb-sys" homepage = "https://github.com/oxidize-rb/rb-sys" diff --git a/crates/rb-sys-tests/Cargo.toml b/crates/rb-sys-tests/Cargo.toml index 55be14ed..75633703 100644 --- a/crates/rb-sys-tests/Cargo.toml +++ b/crates/rb-sys-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rb-sys-tests" -version = "0.9.97" +version = "0.9.98" edition = "2018" autotests = false publish = false diff --git a/crates/rb-sys/Cargo.toml b/crates/rb-sys/Cargo.toml index cd99d3f0..ec02b3d7 100644 --- a/crates/rb-sys/Cargo.toml +++ b/crates/rb-sys/Cargo.toml @@ -1,7 +1,7 @@ [package] build = "build/main.rs" name = "rb-sys" -version = "0.9.97" +version = "0.9.98" edition = "2018" readme = "readme.md" categories = ["external-ffi-bindings"] @@ -14,7 +14,7 @@ repository = "https://github.com/oxidize-rb/rb-sys" rust-version = "1.63" [build-dependencies] -rb-sys-build = { version = "0.9.97", path = "../rb-sys-build" } +rb-sys-build = { version = "0.9.98", path = "../rb-sys-build" } [dev-dependencies] rb-sys = { path = ".", features = [ diff --git a/examples/rust_reverse/ext/rust_reverse/Cargo.lock b/examples/rust_reverse/ext/rust_reverse/Cargo.lock index 133c2e83..29ebd253 100644 --- a/examples/rust_reverse/ext/rust_reverse/Cargo.lock +++ b/examples/rust_reverse/ext/rust_reverse/Cargo.lock @@ -145,14 +145,14 @@ dependencies = [ [[package]] name = "rb-sys" -version = "0.9.97" +version = "0.9.98" dependencies = [ "rb-sys-build", ] [[package]] name = "rb-sys-build" -version = "0.9.97" +version = "0.9.98" dependencies = [ "bindgen", "lazy_static", @@ -182,7 +182,7 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "rust_reverse" -version = "0.9.97" +version = "0.9.98" dependencies = [ "rb-sys", ] diff --git a/examples/rust_reverse/ext/rust_reverse/Cargo.toml b/examples/rust_reverse/ext/rust_reverse/Cargo.toml index 9b2c7cc5..b2c9cede 100644 --- a/examples/rust_reverse/ext/rust_reverse/Cargo.toml +++ b/examples/rust_reverse/ext/rust_reverse/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "rust_reverse" -version = "0.9.97" +version = "0.9.98" autotests = true # set true if you want to use "cargo test" edition = "2018" [dependencies] -rb-sys = { version = "0.9.97", path = "./../../../../crates/rb-sys", features = [ +rb-sys = { version = "0.9.98", path = "./../../../../crates/rb-sys", features = [ "global-allocator", ] } diff --git a/examples/rust_reverse/lib/rust_reverse/version.rb b/examples/rust_reverse/lib/rust_reverse/version.rb index 2e5dfdb7..735f4849 100644 --- a/examples/rust_reverse/lib/rust_reverse/version.rb +++ b/examples/rust_reverse/lib/rust_reverse/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module RustReverse - VERSION = "0.9.97" + VERSION = "0.9.98" end diff --git a/gem/lib/rb_sys/version.rb b/gem/lib/rb_sys/version.rb index 2e164d39..cf60cb0f 100644 --- a/gem/lib/rb_sys/version.rb +++ b/gem/lib/rb_sys/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module RbSys - VERSION = "0.9.97" + VERSION = "0.9.98" end diff --git a/readme.md b/readme.md index ed741ea3..0579c0b0 100644 --- a/readme.md +++ b/readme.md @@ -48,7 +48,7 @@ building your own gem. ## Supported Toolchains -- Ruby: 2.5+ (for full compatibility with +- Ruby: 2.6+ (for full compatibility with Rubygems) - Rust: 1.63+ @@ -59,14 +59,14 @@ directory for automation purposes): | Platform | Supported | Docker Image | | ------------------ | --------- | ----------------------------------------------- | -| x86_64-linux | ✅ | [`rbsys/x86_64-linux:0.9.97`][docker-hub] | -| x86_64-linux-musl | ✅ | [`rbsys/x86_64-linux-musl:0.9.97`][docker-hub] | -| aarch64-linux | ✅ | [`rbsys/aarch64-linux:0.9.97`][docker-hub] | -| aarch64-linux-musl | ✅ | [`rbsys/aarch64-linux-musl:0.9.97`][docker-hub] | -| arm-linux | ✅ | [`rbsys/arm-linux:0.9.97`][docker-hub] | -| arm64-darwin | ✅ | [`rbsys/arm64-darwin:0.9.97`][docker-hub] | -| x64-mingw32 | ✅ | [`rbsys/x64-mingw32:0.9.97`][docker-hub] | -| x64-mingw-ucrt | ✅ | [`rbsys/x64-mingw-ucrt:0.9.97`][docker-hub] | +| x86_64-linux | ✅ | [`rbsys/x86_64-linux:0.9.98`][docker-hub] | +| x86_64-linux-musl | ✅ | [`rbsys/x86_64-linux-musl:0.9.98`][docker-hub] | +| aarch64-linux | ✅ | [`rbsys/aarch64-linux:0.9.98`][docker-hub] | +| aarch64-linux-musl | ✅ | [`rbsys/aarch64-linux-musl:0.9.98`][docker-hub] | +| arm-linux | ✅ | [`rbsys/arm-linux:0.9.98`][docker-hub] | +| arm64-darwin | ✅ | [`rbsys/arm64-darwin:0.9.98`][docker-hub] | +| x64-mingw32 | ✅ | [`rbsys/x64-mingw32:0.9.98`][docker-hub] | +| x64-mingw-ucrt | ✅ | [`rbsys/x64-mingw-ucrt:0.9.98`][docker-hub] | | mswin | ✅ | not available on Docker | ## Getting Help