From 12c109a120665ce70ae2de0c019e5b137a757a0e Mon Sep 17 00:00:00 2001 From: Martin Petr Date: Sat, 29 Nov 2025 20:06:04 +0100 Subject: [PATCH] Add gitea build action --- .gitea/workflows/build-iso.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitea/workflows/build-iso.yml diff --git a/.gitea/workflows/build-iso.yml b/.gitea/workflows/build-iso.yml new file mode 100644 index 0000000..257e63d --- /dev/null +++ b/.gitea/workflows/build-iso.yml @@ -0,0 +1,29 @@ +name: Build ISO and Upload Artifact + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + build-and-upload: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Make scripts executable + run: chmod +x ./scripts/build_c.sh ./scripts/out_to_iso.sh + + - name: Run build_c.sh + run: ./scripts/build_c.sh + + - name: Run out_to_iso.sh + run: ./scripts/out_to_iso.sh + + - name: Upload ISO artifact + uses: actions/upload-artifact@v4 + with: + name: built-iso + path: out/lints.iso