Bindings Regeneration #206
Workflow file for this run
This file contains 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: Bindings Regeneration | |
on: | |
#schedule: - disabled for now | |
# - cron: '0 0 * * Fri' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-quick | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.PUSHABLE_GITHUB_TOKEN }} | |
- name: Checkout submodules, configure git. | |
run: | | |
# Keep this in sync with generator.json! | |
git -c submodule.third_party/git-hooks.update=none submodule update --init --depth 0 build/submodules/Vulkan-Headers build/submodules/Assimp build/submodules/SDL build/submodules/webgpu-headers build/submodules/wgpu-native build/submodules/dawn build/submodules/SPIRV-Headers build/submodules/SPIRV-Reflect build/submodules/SPIRV-Cross build/submodules/shaderc | |
git config --local user.email "[email protected]" | |
git config --local user.name "The Silk.NET Automaton" | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 3.1.302 | |
- name: Setup Java JDK 11 | |
uses: actions/[email protected] | |
with: | |
java-version: 11 | |
distribution: "temurin" | |
- name: Setup .NET 7.0 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 7.0.102 | |
- name: Setup .NET 6.0 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.201 | |
- name: Setup .NET 5.0 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 5.0.201 | |
- name: Setup .NET Core 3.1 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 3.1.404 | |
- name: Install Workloads | |
# TODO: This is slow. Maybe we can make a docker container with this already done? | |
# manually specifying source to mitigate signing errors | |
run: dotnet workload install android ios maccatalyst -s https://api.nuget.org/v3/index.json | |
- uses: GuillaumeFalourd/[email protected] | |
name: Setup Windows 11 SDK | |
with: | |
sdk-version: 22621 | |
- name: Run a full run of BuildTools | |
run: ./build.cmd regenerate-bindings --create-bindings-pr | |
env: | |
PUSHABLE_GITHUB_TOKEN: ${{ secrets.PUSHABLE_GITHUB_TOKEN }} |