-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add dockerfile integration test * Fix env var check for RB_SYS_TEST * Fix rb_gc_guard test * Upload core dumps * Upload core dumps * Skip ruby-head for now * Skip ruby-head for now * Skip mswin for now
- Loading branch information
Showing
5 changed files
with
66 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
# Test against all versions supported by rubygems | ||
ruby_version: ["2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "3.3", "head"] | ||
ruby_version: ["2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "3.3"] | ||
sys: | ||
- os: ubuntu-latest | ||
rust_toolchain: ${{ needs.fetch_ci_data.outputs.minimum-supported-rust-version }} | ||
|
@@ -49,15 +49,12 @@ jobs: | |
sys: | ||
os: windows-2022 | ||
rust_toolchain: stable-x86_64-pc-windows-msvc | ||
exclude: | ||
- ruby_version: 3.3 # remove this once Ruby 3.3 binaries are available for windows | ||
sys: | ||
os: windows-2022 | ||
rust_toolchain: stable | ||
runs-on: ${{ matrix.sys.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: oxidize-rb/actions/upload-core-dumps@v1 | ||
|
||
- name: Setup debug info | ||
shell: bash | ||
run: script/ci/set-debug-env.sh | ||
|
@@ -89,11 +86,16 @@ jobs: | |
shell: bash | ||
env: | ||
RB_SYS_CARGO_PROFILE: "release" | ||
run: script/ci/upload-on-failure.sh "bundle exec rake test:examples" "examples-test" "./examples" | ||
run: | | ||
ulimit -c unlimited | ||
script/ci/upload-on-failure.sh "bundle exec rake test:examples" "examples-test" "./examples" | ||
- name: 🧪 Cargo test | ||
shell: bash | ||
run: bundle exec rake test:cargo | ||
if: matrix.ruby_version != 'mswin' | ||
Check warning on line 95 in .github/workflows/ci.yml
|
||
run: | | ||
ulimit -c unlimited | ||
bundle exec rake test:cargo | ||
- name: 💎 Gem test | ||
run: bundle exec rake test:gem | ||
|
@@ -102,6 +104,7 @@ jobs: | |
shell: bash | ||
run: | | ||
set -ex | ||
ulimit -c unlimited | ||
gem update --system 3.3.22 > /dev/null | ||
export RUBYOPT="-I$PWD/gem/lib" | ||
pushd examples/rust_reverse | ||
|
@@ -149,6 +152,8 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: oxidize-rb/actions/upload-core-dumps@v1 | ||
|
||
- uses: oxidize-rb/actions/setup-ruby-and-rust@v1 | ||
with: | ||
ruby-version: none | ||
|
@@ -185,4 +190,7 @@ jobs: | |
run: bundle install -j3 | ||
|
||
- name: 🧪 Run tests | ||
run: bundle exec rake test | ||
shell: bash | ||
run: | | ||
ulimit -c unlimited | ||
bundle exec rake test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters