chore: consume the bindings toolbox and declare the upstream manifest… #34
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: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| ci: | |
| uses: EvergineTeam/Evergine.Bindings/.github/workflows/binding-common-ci.yml@v1 | |
| with: | |
| generator-project: "CesiumGen/CesiumGen.csproj" | |
| generator-name: "CesiumGen" | |
| binding-project: "Evergine.Bindings.CesiumNative/Evergine.Bindings.CesiumNative.csproj" | |
| target-framework: "net10.0" | |
| dotnet-version: "10.x" | |
| runtime-identifier: "linux-x64" | |
| build-configuration: "Release" | |
| nuget-artifacts: ${{ inputs.publish-artifacts || false }} | |
| revision: ${{ github.run_number }} |