Rev 15 | Rev 17 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
# $Id$
name: "Build Krakow BASIC"
on:
workflow_dispatch:
push:
concurrency:
group: "build"
cancel-in-progress: true
jobs:
build-c64:
name: "Build for Commodore 64"
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install packages
run: sudo apt-get install cc65
- name: Make sure it is clean
run: make clean PLATFORM=c64
- name: Make
run: make PLATFORM=c64
- name: Rename
run: cp BASIC/krakow.80 krakow-c64.80
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: build-c64
path: krakow-c64.80
release:
name: "Release"
runs-on: ubuntu-latest
permissios:
contents: write
needs: [build-c64]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download from build-c64
uses: actions/download-artifact@v4
with:
name: build-c64
- name: Extract build-c64
run: unzip $GITHUB_WORKSPACE/build-c64.zip