Vulkan/.gitea/workflows/build.yaml
Alexandre a09162d916
Some checks failed
Build VulkanEngine / build (push) Has been cancelled
TWeaked some things
2026-10-01 00:10:12 +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