Skip to content

Commit

Permalink
This is the Silk.NET March 2022 Update (v2.14) (#836)
Browse files Browse the repository at this point in the history
* Upgrade Assimp, regenerate bindings, attempt to update assimp natives

* Add workflow for assimp

* Actually make the assimp workflow run

* Revert SilkTouch debug change

* PR the updated binary

* Fix workflows(?), bin paths

* Add back the wildcards, they're not doing much harm

* Fix Linux paths

* Mac versioning scheme in Core.Loader, fix PR opening

* Fix CI

* Attempt to fix various native workflows

* Formatting

* Fix weird merge conflicts

* Update Assimp binaries (#839)

* New binaries for Assimp on Darwin 20.6.0 Darwin Kernel Version 20.6.0: Wed Jan 12 22:22:42 PST 2022; root:xnu-7195.141.19~2/RELEASE_X86_64

* New binaries for Assimp on Darwin 20.6.0 Darwin Kernel Version 20.6.0: Wed Jan 12 22:22:42 PST 2022; root:xnu-7195.141.19~2/RELEASE_X86_64

* New binaries for Assimp on Darwin 20.6.0 Darwin Kernel Version 20.6.0: Wed Jan 12 22:22:42 PST 2022; root:xnu-7195.141.19~2/RELEASE_X86_64

* New binaries for Assimp on Darwin 20.6.0 Darwin Kernel Version 20.6.0: Wed Jan 12 22:22:42 PST 2022; root:xnu-7195.141.19~2/RELEASE_X86_64

Co-authored-by: runner <[email protected]>
Co-authored-by: runner <[email protected]>
Co-authored-by: The Silk.NET Automaton <[email protected]>

* Update SwiftShader binaries (#838)

* New binaries for SwiftShader on Microsoft Windows 10.0.20348

* New binaries for SwiftShader on Microsoft Windows 10.0.20348

* New binaries for SwiftShader on Microsoft Windows 10.0.20348

* New binaries for SwiftShader on Microsoft Windows 10.0.20348

* New binaries for SwiftShader on Microsoft Windows 10.0.20348

* New binaries for SwiftShader on Microsoft Windows 10.0.20348

* New binaries for SwiftShader on Microsoft Windows 10.0.20348

* New binaries for SwiftShader on Microsoft Windows 10.0.20348

* New binaries for SwiftShader on Microsoft Windows 10.0.20348

* New binaries for SwiftShader on Microsoft Windows 10.0.20348

Co-authored-by: The Silk.NET Automaton <[email protected]>

* Update Vulkan Loader binaries (#837)

* New binaries for Vulkan Loader on Microsoft Windows 10.0.20348

* New binaries for Vulkan Loader on Microsoft Windows 10.0.20348

* New binaries for Vulkan Loader on Microsoft Windows 10.0.20348

* New binaries for Vulkan Loader on Microsoft Windows 10.0.20348

* New binaries for Vulkan Loader on Microsoft Windows 10.0.20348

* New binaries for Vulkan Loader on Microsoft Windows 10.0.20348

* New binaries for Vulkan Loader on Microsoft Windows 10.0.20348

* New binaries for Vulkan Loader on Microsoft Windows 10.0.20348

* New binaries for Vulkan Loader on Microsoft Windows 10.0.20348

* New binaries for Vulkan Loader on Microsoft Windows 10.0.20348

Co-authored-by: The Silk.NET Automaton <[email protected]>

* Update Build.Native.cs

* New binaries for SwiftShader on Microsoft Windows 10.0.20348 (#842)

Co-authored-by: The Silk.NET Automaton <[email protected]>

* Update Assimp binaries (#841)

* New binaries for Assimp on Linux 5.11.0-1028-azure #31~20.04.2-Ubuntu SMP Tue Jan 18 08:46:15 UTC 2022

* New binaries for Assimp on Microsoft Windows 10.0.20348

Co-authored-by: The Silk.NET Automaton <[email protected]>

* New binaries for Vulkan Loader on Microsoft Windows 10.0.20348 (#840)

Co-authored-by: The Silk.NET Automaton <[email protected]>

* Regenerate bindings, update patch notes

* New binaries for ANGLE on Darwin 20.6.0 Darwin Kernel Version 20.6.0: Wed Jan 12 22:22:42 PST 2022; root:xnu-7195.141.19~2/RELEASE_X86_64 (#844)

Co-authored-by: The Silk.NET Automaton <[email protected]>

* New binaries for ANGLE on Linux 5.11.0-1028-azure #31~20.04.2-Ubuntu SMP Tue Jan 18 08:46:15 UTC 2022 (#845)

Co-authored-by: The Silk.NET Automaton <[email protected]>

Co-authored-by: silkdotnet <[email protected]>
Co-authored-by: runner <[email protected]>
Co-authored-by: runner <[email protected]>
Co-authored-by: The Silk.NET Automaton <[email protected]>
  • Loading branch information
5 people committed Mar 15, 2022
1 parent bf3a2cb commit 36f3130
Show file tree
Hide file tree
Showing 182 changed files with 6,270 additions and 23,432 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/SwiftShader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
name: Linux
nuke_invoke: ./build.sh
extras: |
sudo apt-get update
sudo apt-get install -y libx11-xcb-dev
- os: windows-latest
name: Windows
Expand Down Expand Up @@ -52,7 +53,7 @@ jobs:
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.100
dotnet-version: 6.0.201
- name: Build SwiftShader
run: ${{ matrix.env.nuke_invoke }} SwiftShader
env:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/angle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ jobs:
name: Linux
nuke_invoke: ./build.sh
extras: |
sudo apt-get update
sudo apt-get remove php7.4-common
sudo apt-get install -y libx11-xcb-dev libapache2-mod-php7.4
- os: windows-latest
name: Windows
nuke_invoke: ./build.cmd
extras: ""
extras: |
pwsh build\Install-WindowsSDK.ps1
- os: macos-latest
name: Darwin
nuke_invoke: ./build.sh
Expand Down Expand Up @@ -53,7 +55,7 @@ jobs:
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.100
dotnet-version: 6.0.201
- name: Build ANGLE
run: ${{ matrix.env.nuke_invoke }} Angle
env:
Expand Down
54 changes: 54 additions & 0 deletions .github/workflows/assimp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Assimp
on:
push:
branches-ignore:
- "ci/*"
- "develop/*"
- "main"
paths:
- "build/submodules/Assimp"
- "build/nuke/Build.Native.cs"
jobs:
Build:
strategy:
fail-fast: false
matrix:
env:
- os: ubuntu-latest
name: Linux
nuke_invoke: ./build.sh
extras: |
sudo apt-get update
sudo apt-get install -y xorg-dev
- os: windows-latest
name: Windows
nuke_invoke: ./build.cmd
extras: ""
- os: macos-latest
name: Darwin
nuke_invoke: ./build.sh
extras: ""
name: ${{ matrix.env.name }} Build
runs-on: ${{ matrix.env.os }}
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.PUSHABLE_GITHUB_TOKEN }}
- name: Checkout submodules, configure git.
run: |
git -c submodule.third_party/git-hooks.update=none submodule update --init --recursive
git config --local user.email "[email protected]"
git config --local user.name "The Silk.NET Automaton"
- name: Extra prerequisites
run: |
echo running extras
${{ matrix.env.extras }}
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.201
- name: Build Assimp
run: ${{ matrix.env.nuke_invoke }} assimp
env:
PUSHABLE_GITHUB_TOKEN: ${{ secrets.PUSHABLE_GITHUB_TOKEN }}

2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.100
dotnet-version: 6.0.201
- name: Setup .NET 5.0
uses: actions/setup-dotnet@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.100
dotnet-version: 6.0.201
- name: Setup .NET 5.0
uses: actions/setup-dotnet@v1
with:
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/glfw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
name: Linux
nuke_invoke: ./build.sh
extras: |
sudo apt-get update
sudo apt-get install -y xorg-dev
- os: windows-latest
name: Windows
Expand All @@ -30,16 +31,23 @@ jobs:
runs-on: ${{ matrix.env.os }}
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
with:
token: ${{ secrets.PUSHABLE_GITHUB_TOKEN }}
- name: Checkout submodules, configure git
run: |
git -c submodule.third_party/git-hooks.update=none submodule update --init --recursive
git config --local user.email "[email protected]"
git config --local user.name "The Silk.NET Automaton"
- name: Extra prerequisites
run: |
echo running extras
${{ matrix.env.extras }}
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.100
dotnet-version: 6.0.201
- name: Build GLFW
run: ${{ matrix.env.nuke_invoke }} glfw
env:
PUSHABLE_GITHUB_TOKEN: ${{ secrets.PUSHABLE_GITHUB_TOKEN }}

4 changes: 2 additions & 2 deletions .github/workflows/public-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.100
dotnet-version: 6.0.201
- name: Install Workloads for Restore
# TODO: This is slow. Maybe we can make a docker container with this already done?
run: dotnet workload install android android-aot ios maccatalyst maui
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.100
dotnet-version: 6.0.201
- name: Ship Public API
run: ./build.sh ShipApi
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.100
dotnet-version: 6.0.201
- name: Checkout Website Branch
run: |
git fetch --all
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/vulkan-loader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
name: Linux
nuke_invoke: ./build.sh
extras: |
sudo apt-get update
sudo apt-get install -y build-essential libx11-xcb-dev libxkbcommon-dev libwayland-dev libxrandr-dev
- os: windows-latest
name: Windows
Expand Down Expand Up @@ -52,7 +53,7 @@ jobs:
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.100
dotnet-version: 6.0.201
- name: Build Vulkan Loader
run: ${{ matrix.env.nuke_invoke }} VulkanLoader
env:
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@
[submodule "build/submodules/GLFW"]
path = build/submodules/GLFW
url = https://github.com/glfw/glfw.git
[submodule "build/submodules/Assimp"]
path = build/submodules/Assimp
url = https://github.com/assimp/assimp
6 changes: 6 additions & 0 deletions .nuke/build.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
"type": "string",
"enum": [
"Angle",
"Assimp",
"BuildLibSilkDroid",
"Clean",
"Compile",
Expand Down Expand Up @@ -153,6 +154,7 @@
"type": "string",
"enum": [
"Angle",
"Assimp",
"BuildLibSilkDroid",
"Clean",
"Compile",
Expand Down Expand Up @@ -186,6 +188,10 @@
"Quiet",
"Verbose"
]
},
"Warnings": {
"type": "boolean",
"description": "Outputs build warnings instead of keeping the MSBuild logging quiet with just errors"
}
}
}
Expand Down
10 changes: 10 additions & 0 deletions build/Install-WindowsSDK.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

$WinSdkTempDir = "C:\WinSdkTemp\"
$WinSdkSetupExe = "C:\WinSdkTemp\" + "WinSdkSetup.exe"

mkdir $WinSdkTempDir

$client = [System.Net.WebClient]::new()
$client.DownloadFile("https://go.microsoft.com/fwlink/p/?linkid=2120843", $WinSdkSetupExe)

Start-Process -Wait $WinSdkSetupExe "/features+ /q"
Binary file modified build/cache/assimp.json.gz
Binary file not shown.
Binary file modified build/cache/cl.json.gz
Binary file not shown.
Binary file modified build/cache/d3d11.json.gz
Binary file not shown.
Binary file modified build/cache/gles2.json.gz
Binary file not shown.
Binary file modified build/cache/vulkan.json.gz
Binary file not shown.
Binary file modified build/cache/vulkan_video.json.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion build/nuke/Build.Core.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ partial class Build
.After(Clean)
.Executes
(
() => DotNetBuild
() => ErrorsOnly<DotNetBuildSettings>
(
s => s.SetProjectFile(Solution)
.SetConfiguration(Configuration)
Expand Down
Loading

0 comments on commit 36f3130

Please sign in to comment.