Use windows runner for actions #19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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: "RenderDocGen/RenderDocGen/RenderDocGen.csproj" # Path to your generator .csproj | |
| generator-name: "RenderDoc" # Name of your generator executable | |
| binding-project: "RenderDocGen/Evergine.Bindings.RenderDoc/Evergine.Bindings.RenderDoc.csproj" # Path to your binding .csproj | |
| target-framework: "net8.0" # Target framework for generator/binding | |
| runtime-identifier: "win-x64" # 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. | |
| runner-os: windows-latest # OS for the runner (windows-latest, ubuntu-latest, etc.) | |
| # 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 |