Compare commits

...

2 Commits
v1 ... main

Author SHA1 Message Date
Joshua Bell 4bc8f9c487 Drop use of 'make avail' following https://github.com/cc65/cc65/pull/1994
cc65's 'make avail' now fails unless all targets were built.
Create links explicitly for ca65/ld65 only.
2023-03-02 19:59:14 -08:00
Joshua Bell 016c3208a7
Update README.md 2021-07-23 13:13:02 -07:00
2 changed files with 24 additions and 1 deletions

View File

@ -6,3 +6,24 @@ This action will build and install the cc65 assembler components (ca65, ld65).
* Targets are built and installed, so later steps can use the `ca65` and `ld65` commands directly.
The action has no inputs or outputs.
## Example
```yml
name: build
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: a2stuff/build-install-ca65-action@v1
- name: build
run: |
ca65 -o example.o example.s
ld65 --config example.cfg -o example example.o
```

View File

@ -5,6 +5,8 @@ runs:
steps:
- run: >
git clone https://github.com/cc65/cc65 /tmp/cc65 &&
sudo make -C /tmp/cc65 ca65 ld65 avail &&
sudo make -C /tmp/cc65 ca65 ld65 &&
sudo ln -s /tmp/cc65/bin/ca65 /usr/local/bin/ca65 &&
sudo ln -s /tmp/cc65/bin/ld65 /usr/local/bin/ld65 &&
ca65 --version
shell: bash