Ian Chamberlain
439a5f2cdd
Simplify macro a ton and don't bother tearing down
...
We don't actually need to do teardown for the gdb runner to work, but
redirecting output streams still works if the runner is in scope for the
whole test.
1 year ago
Ian Chamberlain
ffd037e11a
Drop custom runner support
...
Fix compilation for use cases with imports, custom main etc. by using a
terminal arm trick with `@_@`.
1 year ago
Ian Chamberlain
54772c107d
Merge pull request #9 from ian-h-chamberlain/feature/run-doctests
1 year ago
Ian Chamberlain
7fd99460c2
Move macro to its own module
...
This should make the diff a little nicer and wraps up all the doctests
into their own module nicely.
1 year ago
Ian Chamberlain
efe858d54b
Add basic success example doctest
1 year ago
Ian Chamberlain
b58a9bbf04
Use runner.temp for doctest artifacts
1 year ago
Ian Chamberlain
6322b80c58
Fix merge conflict and cleanup extraneous code
1 year ago
Ian Chamberlain
1b0f5fc7e1
Add doctest macro to setup doctests
1 year ago
Ian Chamberlain
22522b428c
Merge pull request #8 from ian-h-chamberlain/fix/refactor-simplify-action
1 year ago
Ian Chamberlain
a90f7d591f
Update README with usage examples
...
Also fix typo + cleanup YAML
1 year ago
Ian Chamberlain
2f70af3297
Update to latest checkout action to hide warnings
1 year ago
Ian Chamberlain
986b47711e
Minor docker cleanup
1 year ago
Ian Chamberlain
057496e4a2
Big restructure for crate and actions
...
Move the runner-specific docker stuff into that action directory, and
move the runner crate into a subdirectory for simpler top-level
structure.
1 year ago
Ian Chamberlain
224865854e
Move actions to top-level for nicer call syntax
...
For external repos this will be a lot simpler
1 year ago
Ian Chamberlain
0f7be6f691
Overhaul the test-runner entrypoint for one file
...
Make sure docker is installed in our custom action
1 year ago
Ian Chamberlain
5c29862e2d
Fix ENV from devkitarm image in dockerfile
...
Also try to fix citra download even though I don't know what's wrong
yet.
1 year ago
Ian Chamberlain
7ba17cff18
Reflow actions completely
...
Add a "test" action instead of a "citra" action. It might still be
useful to have the citra action for examples later on but it's pretty
simple to reimplement.
1 year ago
Ian Chamberlain
9ac325178a
Merge pull request #1 from ian-h-chamberlain/feature/citra-xvfb
1 year ago
Ian Chamberlain
780d45d4a6
Fix up some test runner issues
...
Clean up dockerfile build by using devkitarm base image to get devkitpro
tools. Also upload artifacts after running, and fix some issues due to
Github Actions working slightly different than plain docker.
1 year ago
Ian Chamberlain
05b8c86e71
Create reusable action for running citra
...
Minor updates to setup etc as well
1 year ago
Ian Chamberlain
98fc093c43
Copy test runner and actions from ctru-rs
1 year ago
Ian Chamberlain
4d2d4064b2
Rework a bunch of stuff in citra dockerfile
2 years ago
Ian Chamberlain
0d8b0d9057
Fix background color for screenshots
3 years ago
Ian Chamberlain
e12961ab6e
Initial commit
3 years ago