-
Notifications
You must be signed in to change notification settings - Fork 26
38 lines (33 loc) · 1.5 KB
/
CI.yml
File metadata and controls
38 lines (33 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Binding CI - Simple Template
# This template is for .NET bindings.
# Copy this file to your repository as `.github/workflows/CI.yml` and customize the inputs below.
name: CI
on:
workflow_dispatch:
inputs:
publish-artifacts:
description: 'Publish artifacts'
required: false
type: boolean
default: false
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
ci:
uses: EvergineTeam/evergine-standards/.github/workflows/binding-common-ci.yml@v2
with:
generator-project: "VulkanGen/VulkanGen/VulkanGen.csproj" # Path to your generator .csproj
generator-name: "Vulkan" # Name of your generator executable
binding-project: "VulkanGen/Evergine.Bindings.Vulkan/Evergine.Bindings.Vulkan.csproj" # Path to your binding .csproj
target-framework: "net10.0" # Target framework for generator/binding
runtime-identifier: "" # Runtime identifier (win-x64, linux-x64, etc.)
build-configuration: "Release" # Build configuration (Release, Debug, etc.)
nuget-artifacts: ${{ inputs.publish-artifacts || false }} # Upload NuGets as workflow artifacts
revision: ${{ github.run_number }} # Revision for date-based version (bindings style). Use with bindings.
# Tips:
# - For direct version (add-ons style):
# version: "3.4.22.288-local"
# - For date-based version (bindings style):
# revision: "" # Uses github.run_number or custom logic