build-install-ca65-action/action.yml
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

13 lines
446 B
YAML

name: 'Build and Install cc65 Assembler Components'
description: 'Builds and installs the cc65 assembler components (ca65, ld65)'
runs:
using: "composite"
steps:
- run: >
git clone https://github.com/cc65/cc65 /tmp/cc65 &&
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