2024-03-01 19:41:10 +03:00
|
|
|
name: Release workflow
|
|
|
|
|
|
|
|
on: workflow_dispatch
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
2024-03-09 20:59:00 +03:00
|
|
|
- name: Install packages
|
|
|
|
run: sudo apt install libsdl2-dev libasound-dev libvncserver-dev openjade docbook docbook-dsssl
|
|
|
|
|
2024-03-01 19:41:10 +03:00
|
|
|
- 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
|
2024-03-01 20:04:57 +03:00
|
|
|
uses: actions/upload-artifact@v4
|
2024-03-01 19:41:10 +03:00
|
|
|
with:
|
2024-03-01 20:04:57 +03:00
|
|
|
name: bochs.tar.gz
|
2024-03-01 19:41:10 +03:00
|
|
|
path: bochs.tar.gz
|
|
|
|
|
|
|
|
- name: Upload release linux RPM package
|
2024-03-01 20:04:57 +03:00
|
|
|
uses: actions/upload-artifact@v4
|
2024-03-01 19:41:10 +03:00
|
|
|
with:
|
|
|
|
name: bochs linux RPM
|
2024-03-09 20:10:48 +03:00
|
|
|
path: bochs/bochs-*.rpm
|