From bc87587330e9265b23861d0f763fdb1612e5f632 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 22 Sep 2023 14:05:19 +0200 Subject: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the basic structure and the first example: managing controller input. Signed-off-by: Miquel Sabaté Solà --- .github/ISSUE_TEMPLATE/custom.md | 17 +++++++++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 7 +++++++ .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/custom.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md create mode 100644 .github/workflows/ci.yml (limited to '.github') diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md new file mode 100644 index 0000000..4a0af7e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/custom.md @@ -0,0 +1,17 @@ +--- +name: Custom issue template +about: General issues, both bugs and features. +title: '' +labels: '' +assignees: mssola +--- + +### Description + +1. First I did this... +2. Then that... +3. And this happened! +4. Versions: git commit sha, toolchain version, version of the emulator/system, etc. + +- **Expected behavior**: I expected this to happen! +- **Actual behavior**: But this happened... diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..0c61cae --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,7 @@ +Provide a general description of the changes in your pull request. If this pull request fixes a known issue, please tag it as well (e.g.: `Fixes #1`). In any case: + +- [ ] Write a [good commit message](https://chris.beams.io/posts/git-commit/). +- [ ] You are sure that `make` continues to work. +- [ ] The pull request has *only* one subject and a clear title. You are not submitting a pull request with tons of different unrelated commits. + +Thanks! diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..451a907 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + name: Continuous Integration + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Install dependencies from Ubuntu sources + run: sudo apt-get install cc65 fceux + + - name: Main task + run: make -- cgit v1.2.3