add actions
Some checks failed
build and test / build (push) Has been cancelled

This commit is contained in:
Jeff Epler 2025-06-22 19:49:37 +02:00
parent 1921f55b75
commit 277098c2da

25
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: build and test
on:
push:
pull_request:
release:
types:
- created
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- run: bash build-toolchain.sh
- run: tar cvf - m68k-toolchain/ | pzstd -17 > m68k-toolchain-x64-linux.tar.zst
- uses: actions/upload-artifact@v4
with:
name: m68k-toolchain-x64-linux
path: m68k-toolchain-x64-linux.tar.zst
compression-level: 0
- uses: shogo82148/actions-upload-release-asset@v1
if: ${{ github.event_name == 'release' }}
with:
asset_path: "m68k-toolchain-x64-linux.tar.zst"
upload_url: ${{ github.event.release.upload_url }}