Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/release_ruby_gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ jobs:
version: ${{ github.event.inputs.release_tag || inputs.release_tag }}
file: rspec-trunk-flaky-tests/rspec_trunk_flaky_tests.gemspec

# this is necessary because the cross-gem action doesn't support reading the Gemfile.lock from the subdirectory
# leading to a mismatch in the rb_sys version
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent comment explaining the arcana here, thank you.

- name: Copy Gemfile.lock to root
run: cp rspec-trunk-flaky-tests/Gemfile.lock ./Gemfile.lock
shell: bash

- uses: oxidize-rb/actions/cross-gem@v1
with:
platform: ${{ matrix.platform }}
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/smoke_test_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
types:
- staging-release
- production-release

jobs:
build_cli:
name: Smoke test ${{ matrix.platform.name }} cli from release
Expand Down Expand Up @@ -183,6 +184,12 @@ jobs:
version: 0.0.0-${{ steps.get-sha.outputs.sha }}
file: rspec-trunk-flaky-tests/rspec_trunk_flaky_tests.gemspec

# this is necessary because the cross-gem action doesn't support reading the Gemfile.lock from the subdirectory
# leading to a mismatch in the rb_sys version
- name: Copy Gemfile.lock to root
run: cp rspec-trunk-flaky-tests/Gemfile.lock ./Gemfile.lock
shell: bash

- name: Build cross-compiled gem
uses: oxidize-rb/actions/cross-gem@v1
with:
Expand Down
Loading