From 2bb599aac037c746d1d74af1ce1a418bba9808d3 Mon Sep 17 00:00:00 2001 From: Lorenzo Torres Date: Fri, 1 Aug 2025 21:42:52 +0200 Subject: [PATCH] added github workflow to generate docs --- .workflows/docs.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .workflows/docs.yml diff --git a/.workflows/docs.yml b/.workflows/docs.yml new file mode 100644 index 0000000..13d3c10 --- /dev/null +++ b/.workflows/docs.yml @@ -0,0 +1,37 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "master" branch + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + docs: + runs-on: ubuntu-latest + name: Build and Test + steps: + - name: checkout + uses: actions/checkout@v3 + - name: setup + uses: mlugg/setup-zig@v2 + with: + version: master + - name: install dependencies + run: sudo apt install -y libwayland-dev libxkbcommon-dev xorg-dev glslc + - name: build docs + run: zig build docs + - name: archive docs + uses: actions/upload-artifact@v4 + with: + name: docs + path: | + zig-out/docs