Compare commits

...

1 commit

Author SHA1 Message Date
22d68ca596
Add github actions CI
This will
 * produce a .d64 of both the regular and easyflash versions
 * if a release is tagged, it will add the .d64 files to the release automatically
2022-02-25 20:56:54 -06:00

48
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,48 @@
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 CCGMS
run: |
make -j$(nproc)
c1541 -format ccgms,fu d64 ccgms.d64 -write build/ccgmsterm.prg
make clean
- name: build CCGMS (EASYFLASH version)
run: |
make -j$(nproc) EASYFLASH=1
c1541 -format ccgms-easyflash,fu d64 ccgms-easyflash.d64 -write build/ccgmsterm.prg
make clean
- uses: actions/upload-artifact@v2
with:
name: artifacts
path: |
*.d64
- 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"