80columns/.github/workflows/build.yml

43 lines
1.1 KiB
YAML

name: Build
on:
push:
pull_request:
release:
types: [published]
check_suite:
types: [rerequested]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: install deps
run: sudo apt install vice cc65
- name: build toolchain
run: make toolchain-exomizer -j$(nproc)
- name: build 80columns
run: make -j$(nproc)
- uses: actions/upload-artifact@v2
with:
name: artifacts
path: |
*.d64
*.prg
- name: Create release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: |
*.d64
fail_on_unmatched_files: true
body: "Automatically created release"