Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:

jobs:
ci:
uses: EvergineTeam/evergine-standards/.github/workflows/binding-common-ci.yml@v2
uses: EvergineTeam/Evergine.Bindings/.github/workflows/binding-common-ci.yml@v1
with:
generator-project: "WebGPUGen/WebGPUGen/WebGPUGen.csproj" # Path to your generator .csproj
generator-name: "WebGPU" # Name of your generator executable
Expand Down
86 changes: 43 additions & 43 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
# Binding Simple CD - Template
# This template is for pure .NET bindings (no XML update) to publish NuGets to Nuget.org.
# Copy this file to your repository as `.github/workflows/CD.yml` and customize the inputs below.
name: CD
on:
workflow_dispatch:
inputs:
skip-assets-publishing:
description: 'Skip assets publishing'
required: false
type: boolean
default: false
jobs:
publish:
if: github.event_name != 'schedule' || github.ref_name == github.event.repository.default_branch
uses: EvergineTeam/evergine-standards/.github/workflows/binding-simple-cd.yml@v2
with:
generator-project: "WebGPUGen/WebGPUGen/WebGPUGen.csproj" # Path to your generator .csproj
generator-name: "WebGPU" # Name of your generator executable
binding-project: "WebGPUGen/Evergine.Bindings.WebGPU/Evergine.Bindings.WebGPU.csproj" # Path to your binding .csproj
target-framework: "net10.0" # Target framework for generator/binding
dotnet-version: "10.x" # .NET SDK version
nuget-version: "6.x" # NuGet CLI version
runtime-identifier: "win-x64" # Runtime identifier (win-x64, linux-x64, etc.)
build-configuration: "Release" # Build configuration (Release, Debug, etc.)
revision: ${{ github.run_number }} # Revision for date-based version (bindings style). Use with bindings.
publish-enabled: ${{ !inputs.skip-assets-publishing }}
enable-email-notifications: true
runner-os: windows-latest
secrets:
NUGET_UPLOAD_TOKEN: ${{ secrets.EVERGINE_NUGETORG_TOKEN }}
WAVE_SENDGRID_TOKEN: ${{ secrets.WAVE_SENDGRID_TOKEN }}
EVERGINE_EMAILREPORT_LIST: ${{ secrets.EVERGINE_EMAILREPORT_LIST }}
EVERGINE_EMAIL: ${{ secrets.EVERGINE_EMAIL }}
# Tips:
# - For direct version (add-ons style):
# version: "3.4.22.288-local"
# - For date-based version (bindings style):
# Binding Simple CD - Template

# This template is for pure .NET bindings (no XML update) to publish NuGets to Nuget.org.
# Copy this file to your repository as `.github/workflows/CD.yml` and customize the inputs below.

name: CD

on:
workflow_dispatch:
inputs:
skip-assets-publishing:
description: 'Skip assets publishing'
required: false
type: boolean
default: false

jobs:
publish:
if: github.event_name != 'schedule' || github.ref_name == github.event.repository.default_branch
uses: EvergineTeam/Evergine.Bindings/.github/workflows/binding-simple-cd.yml@v1
with:
generator-project: "WebGPUGen/WebGPUGen/WebGPUGen.csproj" # Path to your generator .csproj
generator-name: "WebGPU" # Name of your generator executable
binding-project: "WebGPUGen/Evergine.Bindings.WebGPU/Evergine.Bindings.WebGPU.csproj" # Path to your binding .csproj
target-framework: "net10.0" # Target framework for generator/binding
dotnet-version: "10.x" # .NET SDK version
nuget-version: "6.x" # NuGet CLI version
runtime-identifier: "win-x64" # Runtime identifier (win-x64, linux-x64, etc.)
build-configuration: "Release" # Build configuration (Release, Debug, etc.)
revision: ${{ github.run_number }} # Revision for date-based version (bindings style). Use with bindings.
publish-enabled: ${{ !inputs.skip-assets-publishing }}
enable-email-notifications: true
runner-os: windows-latest
secrets:
NUGET_UPLOAD_TOKEN: ${{ secrets.EVERGINE_NUGETORG_TOKEN }}
WAVE_SENDGRID_TOKEN: ${{ secrets.WAVE_SENDGRID_TOKEN }}
EVERGINE_EMAILREPORT_LIST: ${{ secrets.EVERGINE_EMAILREPORT_LIST }}
EVERGINE_EMAIL: ${{ secrets.EVERGINE_EMAIL }}

# 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
38 changes: 38 additions & 0 deletions binding.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Binding manifest — see https://github.com/EvergineTeam/Evergine.Bindings
# Schema: https://github.com/EvergineTeam/Evergine.Bindings/blob/main/binding.schema.json
toolbox: 1.0.0

package:
id: Evergine.Bindings.WebGPU
project: WebGPUGen/Evergine.Bindings.WebGPU/Evergine.Bindings.WebGPU.csproj
target-framework: net10.0
runtime-identifier: win-x64

upstream:
kind: git-tree
language: c
project: https://github.com/emscripten-core/emscripten
version-from: git-release
sources:
- repo: emscripten-core/emscripten
ref: "3.1.56"
remote-path: system/include/webgpu/webgpu.h
path: WebGPUGen/WebGPUGen/Headers/webgpu.h
format: c-header

generator:
project: WebGPUGen/WebGPUGen/WebGPUGen.csproj
name: WebGPU
output:
- WebGPUGen/Evergine.Bindings.WebGPU/Generated

# NOTE — do not let an agent bump `ref` here without a human deciding.
#
# Since June 2025 this binding targets browsers only, because the .NET SDK is pinned to
# a specific Emscripten version (the README cites 3.1.36 for .NET 10). The header ref
# above is 3.1.56, which does not match that number. Whether that is intentional, stale
# documentation, or a real mismatch needs a person to resolve -- it is exactly the kind
# of question the manifest is meant to surface rather than answer.
#
# Until it is resolved, treat `ref` as frozen: binding-updater may report that a newer
# Emscripten exists, but must not propose the bump.
Loading