diff --git a/.gitea/workflows/build_linux.yaml b/.gitea/workflows/build_linux.yaml new file mode 100644 index 0000000..53eef59 --- /dev/null +++ b/.gitea/workflows/build_linux.yaml @@ -0,0 +1,43 @@ +name: Build VulkanEngine + +on: + push: + branches: + - vkguide + pull_request: + workflow_dispatch: + schedule: + - cron: "@weekly" + +jobs: + build: + runs-on: ubuntu-22.04 + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: recursive + fetch-depth: 0 + + - name: Setup build env + runs: | + mkdir bin && cd bin && cmake -G Ninja --preset release .. + + - name: Upload des artefacts + if: success() + uses: actions/upload-artifact@v3 + with: + name: vulkan-engine.zip + path: | + ./engine-bundle + if-no-files-found: warn + archive: false + + - name: Notify routine + if: always() + run: | + curl \ + -H "Title: [Routine] VulkanEngine build" \ + -d "Build finished (status: ${{ job.status }})" \ + https://ntfy.alexdelcamp.fr/FlakeBuild \ No newline at end of file