Ajouter .gitea/workflows/build_linux.yaml
Some checks failed
Build VulkanEngine / build (push) Failing after 0s
Some checks failed
Build VulkanEngine / build (push) Failing after 0s
This commit is contained in:
parent
4e92afd550
commit
235a6f1c4e
43
.gitea/workflows/build_linux.yaml
Normal file
43
.gitea/workflows/build_linux.yaml
Normal file
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user