Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Ruby binding test repo checkout #1048

Merged
merged 1 commit into from
Dec 14, 2023
Merged
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
13 changes: 11 additions & 2 deletions .github/workflows/post-review-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,21 @@ jobs:
path: mmtk-ruby
ref: ${{ needs.binding-refs.outputs.ruby_binding_ref }}

- name: Setup script dependencies
run: ./.github/scripts/ci-setup-script-deps.sh
working-directory: mmtk-ruby

- name: Determine Ruby repository and revision
id: extract-ruby-revision
run: python ./.github/scripts/extract-ruby-revision.py ./mmtk/Cargo.toml --github-output=$GITHUB_OUTPUT
working-directory: mmtk-ruby

- name: Checkout Ruby
uses: actions/checkout@v3
with:
repository: mmtk/ruby
repository: ${{ steps.extract-ruby-revision.outputs.ruby_repo }}
ref: ${{ steps.extract-ruby-revision.outputs.ruby_rev }}
path: ruby
ref: mmtk

- name: Override mmtk-core dependency for binding
run: ./.github/scripts/ci-replace-mmtk-dep.sh ../mmtk-ruby/mmtk/Cargo.toml --mmtk-core-path .
Expand Down
Loading