Skip to content

Merge pull request #207 from eduardocasino/attr-fix #173

Merge pull request #207 from eduardocasino/attr-fix

Merge pull request #207 from eduardocasino/attr-fix #173

Workflow file for this run

name: Autorelease
on:
push:
branches:
- "master"
jobs:
build-linux:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
with:
repository: 'davidgiven/cpm65'
path: 'cpm65'
- name: apt
run: sudo apt update && sudo apt install cc1541 cpmtools libfmt-dev fp-compiler moreutils srecord 64tass libreadline-dev
- name: install llvm-mos
run: |
wget -O - https://github.com/llvm-mos/llvm-mos-sdk/releases/latest/download/llvm-mos-linux.tar.xz | tar xJf - -C $HOME
- name: make
run: make -C cpm65 LLVM=$HOME/llvm-mos/bin
- name: date
run: |
echo "RELEASE_DATE=$(date --rfc-3339=date)" >> ${GITHUB_ENV}
- name: tag
run: |
cd cpm65
git config user.name "davidgiven"
git config user.email "[email protected]"
git tag -f dev
git push -f origin dev
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: delete-old-assets
uses: mknejp/delete-release-assets@v1
with:
token: ${{ github.token }}
tag: dev
assets: |
apple2e.po
apple2e_b.po
atari800.atr
atari800b.atr
atari800c.atr
atari800hd.atr
atari800xlhd.atr
bbcmicro.ssd
c64.d64
kim-1-iec.zip
kim-1-k1013.zip
kim-1-sdcard.zip
nano6502.img
nano6502_sysonly.img
neo6502.zip
oricatmos.dsk
osi400f.os8
osi400mf.os5
osi500f.os8
osi500mf.os5
osi600f.os8
osi600mf.os5
osiserv.os8
osif-b.os8
osimf-b.os5
osimf-c.os5
osimf-d.os5
osiserf.os8
pet4032.d64
pet8032.d64
pet8096.d64
snes.smc
vic20.d64
x16.zip
fail-if-no-assets: false
- name: release
uses: softprops/action-gh-release@v1
with:
name: Development build ${{ env.RELEASE_DATE }}
files: |
cpm65/images/apple2e.po
cpm65/images/atari800.atr
cpm65/images/atari800b.atr
cpm65/images/atari800c.atr
cpm65/images/atari800hd.atr
cpm65/images/atari800xlhd.atr
cpm65/images/bbcmicro.ssd
cpm65/images/c64.d64
cpm65/images/kim-1-iec.zip
cpm65/images/kim-1-k1013.zip
cpm65/images/kim-1-sdcard.zip
cpm65/images/nano6502.img
cpm65/images/nano6502_sysonly.img
cpm65/images/neo6502.zip
cpm65/images/oric.dsk
cpm65/images/osi400f.os8
cpm65/images/osi400mf.os5
cpm65/images/osi500f.os8
cpm65/images/osi500mf.os5
cpm65/images/osi600f.os8
cpm65/images/osi600mf.os5
cpm65/images/osif-b.os8
cpm65/images/osimf-b.os5
cpm65/images/osimf-c.os5
cpm65/images/osimf-d.os5
cpm65/images/osiserf.os8
cpm65/images/pet4032.d64
cpm65/images/pet8032.d64
cpm65/images/pet8096.d64
cpm65/images/snes.smc
cpm65/images/vic20.d64
cpm65/images/x16.zip
tag_name: dev
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}