All checks were successful
Daily Build and trunk tester / debian_update (push) Successful in 1m11s
going to need a custom runner I guess...might as well only do actions on gitea.
35 lines
1004 B
YAML
35 lines
1004 B
YAML
name: Daily Build and trunk tester
|
|
on:
|
|
push:
|
|
branches: [ $default-branch ]
|
|
schedule:
|
|
- cron: "0 7 * * 1" # mondays at 07:00
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
debian_update:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout (if needed)
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Update and install build tools and deps
|
|
run: |
|
|
sudo bash -c "apt update && apt upgrade -y"
|
|
sudo apt install -y build-essential nasm mtools fdisk dosfstools
|
|
|
|
- name: Build stevia
|
|
run: make
|
|
|
|
- name: Upload build artifacts
|
|
if: always() # still keep logs/artifacts even if build fails
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: stevia-${{ github.run_number }}
|
|
path: |
|
|
build/output/artifacts.tar.gz
|
|
build/output/disk.img.gz
|
|
build/output/part.img.gz
|
|
if-no-files-found: error
|
|
retention-days: 7 # override server default if you like
|
|
|