From b1e491a6973a63887fff938c21a1ec34b72e3acb Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 8 Jul 2025 21:40:11 +0000 Subject: [PATCH 1/2] Add GitHub Actions workflow for building ROM Co-authored-by: mw4096 --- .github/workflows/build.yml | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..6fb7921 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,39 @@ +name: Build ROM + +on: + push: + branches: [ main, master ] + pull_request: + branches: [ main, master ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Install ACME cross-assembler + run: | + # Install ACME cross-assembler + sudo apt-get update + sudo apt-get install -y acme + + # Verify installation + acme --version || echo "ACME installed successfully" + + - name: Build ROM + run: | + cd src + make + + # List the generated files + ls -la bin/ + + - name: Upload ROM binary + uses: actions/upload-artifact@v4 + with: + name: parobek-rom + path: src/bin/ + retention-days: 30 \ No newline at end of file From 4e9b2df5272de6e2092f93fca524a22317ceeeb8 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 8 Jul 2025 21:49:57 +0000 Subject: [PATCH 2/2] Update artifact path to specific ROM binary file Co-authored-by: mw4096 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6fb7921..042b158 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,5 +35,5 @@ jobs: uses: actions/upload-artifact@v4 with: name: parobek-rom - path: src/bin/ + path: src/bin/parobek-via.bin retention-days: 30 \ No newline at end of file