aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-04-07 18:43:33 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-04-07 18:43:33 +0200
commit41a505b89f834f7769271713cd6399330f38e492 (patch)
treea679530438b6f08cb0786ba7ad54a2e7af317421
parent2213b7f6dd1a462f82bf59c6dd801257b19e9223 (diff)
downloadjetpac.nes-41a505b89f834f7769271713cd6399330f38e492.tar.gz
jetpac.nes-41a505b89f834f7769271713cd6399330f38e492.zip
github: Add basic build pipeline
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
-rw-r--r--.github/ISSUE_TEMPLATE/custom.md17
-rw-r--r--.github/PULL_REQUEST_TEMPLATE.md11
-rw-r--r--.github/workflows/build.yml22
3 files changed, 50 insertions, 0 deletions
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..2b401a4
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,11 @@
+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 all` continues to work.
+- [ ] The game 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/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..b81bc3e
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,22 @@
+name: build
+
+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 ruby
+
+ - name: Main task
+ run: V=1 make all