Update docs, fix comment #120
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: ["**"] | |
pull_request: | |
branches: ["**"] | |
workflow_dispatch: | |
branches: ["**"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Build cc65" | |
run: | | |
git clone https://github.com/cc65/cc65.git | |
cd cc65 | |
git checkout 6ac4aa4e2076189ad5b5f3a9d33e1c5910d4e37c | |
make | |
- name: "Remove SERIAL from settings.inc" | |
run: | | |
grep -v SERIAL settings.inc > settings.new | |
mv -f settings.new settings.inc | |
- name: "Assemble PETRock without serial support" | |
run: | | |
cc65/bin/cl65 --verbose --asm-define PET=1 --asm-define SERIAL=0 -o petrock.prg -t none petrock.asm | |
cc65/bin/cl65 --verbose --asm-define C64=1 --asm-define SERIAL=0 -o c64rock.prg -t none petrock.asm | |
- name: "Assemble PETRock with serial support" | |
run: | | |
cc65/bin/cl65 --verbose --asm-define PET=1 --asm-define SERIAL=1 -o petrockser.prg -t none petrock.asm | |
cc65/bin/cl65 --verbose --asm-define C64=1 --asm-define SERIAL=1 -o c64rockser.prg -t none petrock.asm |