Vulkan/.gitea/workflows/build.yaml
Alexandre d2cbc2e073
Some checks failed
Build VulkanEngine / build (push) Failing after 2m37s
Build VulkanEngine / nix (push) Successful in 3m28s
Build VulkanEngine / release (BUNDLE) (push) Successful in 3m49s
Build VulkanEngine / release (PORTABLE) (push) Successful in 3m49s
Build VulkanEngine / notify (push) Successful in 4s
Update build.yaml
2026-10-10 12:40:00 +02:00

55 lines
1.4 KiB
YAML

name: Build VulkanEngine
on:
push:
branches:
- vkguide
pull_request:
workflow_dispatch:
schedule:
- cron: "@weekly"
jobs:
build:
runs-on: ubuntu-22.04
container: git.alexdelcamp.fr/alexandre_1a/flake-actions:latest
steps:
- name: Checkout (avec submodules récursifs)
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: S'assurer que les flakes sont activés
run: |
mkdir -p ~/.config/nix
grep -q "experimental-features" ~/.config/nix/nix.conf 2>/dev/null || \
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
- name: Build using nix
run: |
nix build .#engine
- name: Bundle
run: |
nix bundle --bundler github:ralismark/nix-appimage .#engine --out-link ./engine-bundle
- 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