This commit is contained in:
parent
1921f55b75
commit
277098c2da
1 changed files with 25 additions and 0 deletions
25
.github/workflows/build.yml
vendored
Normal file
25
.github/workflows/build.yml
vendored
Normal 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 }}
|
||||
Loading…
Reference in a new issue