Skip to content

Commit

Permalink
Merge pull request #1 from joajfreitas/initial_setup
Browse files Browse the repository at this point in the history
  • Loading branch information
pineman committed Sep 28, 2023
2 parents 59c8757 + 62b5b6d commit 1a86a41
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: main

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
CARGO_TERM_COLOR: always


jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Version
run: rustc --version
- name: Build
run: cargo rustc --verbose -- -D warnings


clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name : Clippy
run: cargo clippy --all-features -- -D warnings


format-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run rustfmt
run: cargo fmt


test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Unit tests
run: cargo test
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
# supposedly some ~~forth implementation~~ gameboy color emulator


## Links

### gameboy
* https://www.copetti.org/writings/consoles/game-boy/
* https://www.pastraiser.com/cpu/gameboy/gameboy_opcodes.html
* https://gbdev.io/pandocs/
* https://rylev.github.io/DMG-01/public/book/cpu/introduction.html
* http://z80.info/decoding.htm

4 changes: 4 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[toolchain]
channel = "1.72.1"
components = [ "rustfmt", "rustc-dev" , "clippy"]
profile = "minimal"

0 comments on commit 1a86a41

Please sign in to comment.