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

Build and run examples in CI #24

Open
1 of 8 tasks
ayrtonm opened this issue Jan 16, 2023 · 1 comment
Open
1 of 8 tasks

Build and run examples in CI #24

ayrtonm opened this issue Jan 16, 2023 · 1 comment

Comments

@ayrtonm
Copy link
Owner

ayrtonm commented Jan 16, 2023

This will make it less likely for the examples to get out of sync with the psx crate. Now that the BIOS #13 kinda works, running the examples that work with mednafen is also an option. xvfb should have a way to get screenshots so it might even be possible to check the programs that don't write to stdout.

  • bios
    • built in CI and used to run psx crate tests
  • stdout
    • build, run and compare stdout
  • hello_world
    • build and compare with screenshot
  • fs
    • need to check if duckstation can run in xvfb and build mkpsxiso in CI
  • ferris
    • build, could run but comparing with screenshot would be difficult
  • donut
    • build, could run but comparing with screenshot would be difficult
  • monkey
    • build, could run but comparing with screenshot would be difficult
  • loader
    • need to check if duckstation can run in xvfb and build mkpsxiso in CI
    • build.rs changes directories which might cause issues with xvfb

Also an alternative to building mkpsxiso is to finish the WIP adding ISO support to cargo-psx that's on the cargo-psx-iso branch (or at least get it to the point where it builds an ISO that can be loaded).

@ayrtonm ayrtonm changed the title Build and run examples in CI Run examples in CI Jan 16, 2023
@ayrtonm ayrtonm changed the title Run examples in CI Build and run examples in CI Jan 16, 2023
@ayrtonm
Copy link
Owner Author

ayrtonm commented Jan 16, 2023

#26 builds all examples in CI, but they aren't run/tested yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant