fix: declare the binding's licence, not Embree's #28
Workflow file for this run
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
| 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: "EmbreeGen/EmbreeGen.csproj" | |
| generator-name: "EmbreeGen" | |
| binding-project: "Evergine.Bindings.Embree/Evergine.Bindings.Embree.csproj" | |
| target-framework: "net10.0" | |
| dotnet-version: "10.x" | |
| # Generation runs on Linux, which most of the fleet cannot do: the libclang in the | |
| # CppAst package carries no system include paths and none of its own builtin headers, | |
| # so <stddef.h> and <stdbool.h> fail to resolve there. This generator sidesteps that | |
| # by parsing against the stubs in EmbreeGen/Headers/stubs with a pinned x86_64 target, | |
| # which also makes its output identical on any host. | |
| runner-os: ubuntu-latest | |
| runtime-identifier: "linux-x64" | |
| build-configuration: "Release" | |
| nuget-artifacts: ${{ inputs.publish-artifacts || false }} | |
| revision: ${{ github.run_number }} |