rust3ds / ctru-rs

Rust wrapper for libctru
https://rust3ds.github.io/ctru-rs/
Other
116 stars 17 forks source link

Use external actions / test runner crate so we can actually run our tests! #135

Closed ian-h-chamberlain closed 9 months ago

ian-h-chamberlain commented 11 months ago

There are three components here:

  1. Replace the setup action with an external action (which basically does exactly the same thing)
  2. Replace the test_runner module with an external crate which supports GDB output for running tests
  3. Add an external action to run tests using Citra + GDB. This relies on the test runner implementation mentioned above.

I'm leaving this as a draft for now, since we probably want to move the external repo under the rust3ds organization first, but I wanted to show what I've been working on and see if the CI can actually run tests as expected!

ian-h-chamberlain commented 11 months ago

It worked! See https://github.com/rust3ds/ctru-rs/actions/runs/5821500494/job/15784060428#step:9:16 for the test output

Meziu commented 10 months ago

I suggest you transfer the runner etc. to the org and continue development from there. This PR is already taking shape!

ian-h-chamberlain commented 10 months ago

I suggest you transfer the runner etc. to the org and continue development from there. This PR is already taking shape!

@Meziu sounds good, I might ask you to make me admin on that repo too in case I need to adjust Actions settings or something. It should be transferring now...

ian-h-chamberlain commented 10 months ago

Okay, the repository was transferred and this PR updated to use the new location! As far as I can tell everything looks pretty good for now, and this should be ready to merge whenever others have a chance to review