Compare commits
1 commit
main
...
add-action
| Author | SHA1 | Date | |
|---|---|---|---|
| 22d68ca596 |
1 changed files with 48 additions and 0 deletions
48
.github/workflows/ci.yml
vendored
Normal file
48
.github/workflows/ci.yml
vendored
Normal 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"
|
||||
Loading…
Reference in a new issue