attempt to add build-release workflow for github

This commit is contained in:
Shwartsman 2024-03-01 18:41:10 +02:00
parent a92cbdd946
commit a714860aa8
1 changed files with 30 additions and 0 deletions

30
.github/workflows/build-release.yml vendored Normal file
View File

@ -0,0 +1,30 @@
name: Release workflow
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: create sources tarball
run: tar czvf bochs.tar.gz --exclude=.git bochs
- name: build linux binaries
run: cd bochs && ./build/redhat/make-rpm | tee ../build.log
- name: Upload release sources tarball
uses: actions/upload-artifact@v3
with:
name: bochs sources tarball
path: bochs.tar.gz
- name: Upload release linux RPM package
uses: actions/upload-artifact@v3
with:
name: bochs linux RPM
path: bochs.*.rpm