镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/angle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- build/nuke/Native/Core.cs
- build/nuke/Native/Angle.cs
- .github/workflows/angle.yml

permissions:
contents: read

jobs:
Build:
if: github.repository == 'dotnet/Silk.NET'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/assimp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
- build/nuke/Native/Core.cs
- build/nuke/Native/Assimp.cs
- .github/workflows/assimp.yml

permissions:
contents: read

jobs:
Build:
if: github.repository == 'dotnet/Silk.NET'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/bindings-regeneration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
# - cron: '0 0 * * Fri'
workflow_dispatch:

permissions:
contents: read

jobs:
build:

Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@ on:
branches:
- 'main'
- 'release/**'
paths-ignore:
- 'documentation/**'
tags:
- '*'
pull_request:
# all branches
paths-ignore:
- 'documentation/**'
pull_request: # all branches
permissions:
packages: write
jobs:
Expand Down Expand Up @@ -49,14 +44,14 @@ jobs:
dotnet-version: 7.0.102
- name: Install Workloads
run: dotnet workload install android ios maccatalyst
- name: Validation Checks
if: ${{ github.repository != 'dotnet/Silk.NET' || !startsWith(github.ref, 'refs/tags/') }}
run: ./build.sh ValidateSolution
- name: Test
if: ${{ github.repository != 'dotnet/Silk.NET' || !startsWith(github.ref, 'refs/tags/') }}
# skip Clean, Restore, and Compile as this will build the affect the whole solution.
# skip Clean, Restore, and Compile as those will affect the whole solution.
# dotnet test will compile the necessary projects for testing only.
run: ./build.sh Test --skip Clean Restore Compile
- name: Validation Checks
if: ${{ github.repository != 'dotnet/Silk.NET' || !startsWith(github.ref, 'refs/tags/') }}
run: ./build.sh ValidateSolution
- name: Pack (CI)
if: ${{ github.repository != 'dotnet/Silk.NET' || !startsWith(github.ref, 'refs/tags/') }}
# Use a release NUKE so it doesn't interfere with the debug build
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/codeowners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
pull_request:
paths:
- "CODEOWNERS"

permissions:
contents: read

jobs:
Validate:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dxvk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- "ci/**"
- "develop/**"
- "main"

permissions:
contents: read

jobs:
Build:
if: github.repository == 'dotnet/Silk.NET'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/glfw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
- "build/nuke/Native/Core.cs"
- "build/nuke/Native/GLFW.cs"
- .github/workflows/glfw.yml

permissions:
contents: read

jobs:
Build:
if: github.repository == 'dotnet/Silk.NET'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/moltenvk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- build/nuke/Native/Core.cs
- build/nuke/Native/MoltenVK.cs
- .github/workflows/moltenvk.yml

permissions:
contents: read

jobs:
Build:
if: github.repository == 'dotnet/Silk.NET'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/openal-soft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
- build/nuke/Native/Core.cs
- build/nuke/Native/OpenALSoft.cs
- .github/workflows/openal-soft.yml

permissions:
contents: read

jobs:
Build:
if: github.repository == 'dotnet/Silk.NET'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/sdl2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
- build/nuke/Native/SilkDroid.cs
- build/nuke/Build.Support.cs
- .github/workflows/sdl2.yml

permissions:
contents: read

jobs:
Build:
if: github.repository == 'dotnet/Silk.NET'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/shaderc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- build/nuke/Native/Core.cs
- build/nuke/Native/Shaderc.cs
- .github/workflows/shaderc.yml

permissions:
contents: read

jobs:
Build:
if: github.repository == 'dotnet/Silk.NET'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/spirv-cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- build/nuke/Native/Core.cs
- build/nuke/Native/SPIRVCross.cs
- .github/workflows/spirv-cross.yml

permissions:
contents: read

jobs:
Build:
if: github.repository == 'dotnet/Silk.NET'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/spirv-reflect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- build/nuke/Native/Core.cs
- build/nuke/Native/SPIRVReflect.cs
- .github/workflows/spirv-reflect.yml

permissions:
contents: read

jobs:
Build:
if: github.repository == 'dotnet/Silk.NET'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/swiftshader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
- "ci/**"
- "develop/**"
- "main"

permissions:
contents: read

jobs:
Build:
if: github.repository == 'dotnet/Silk.NET'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/vkd3d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ on:
- build/nuke/Native/Vkd3d.cs
- .github/workflows/vkd3d.yml
- src/Microsoft/Vkd3dCompiler/*

permissions:
contents: read

jobs:
Build:
if: github.repository == 'dotnet/Silk.NET'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/vulkan-loader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
- build/nuke/Native/Core.cs
- build/nuke/Native/VulkanLoader.cs
- .github/workflows/vulkan-loader.yml

permissions:
contents: read

jobs:
Build:
if: github.repository == 'dotnet/Silk.NET'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/wgpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- build/nuke/Native/Core.cs
- build/nuke/Native/Wgpu.cs
- .github/workflows/wgpu.yml

permissions:
contents: read

jobs:
Build:
if: github.repository == 'dotnet/Silk.NET'
Expand Down
1 change: 0 additions & 1 deletion build/props/bindings.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<ItemGroup>
<ProjectReference Include="$(MSBuildThisFileDirectory)..\..\src\Core\Silk.NET.Core\Silk.NET.Core.csproj" />
<ProjectReference Include="$(MSBuildThisFileDirectory)..\..\src\Core\Silk.NET.SilkTouch\Silk.NET.SilkTouch.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/>
<Compile Include="$(MSBuildThisFileDirectory)..\..\src\Core\Silk.NET.Core\Attributes\RequiresLocationAttribute.cs" />
</ItemGroup>
<PropertyGroup>
<SilkPublicApiExempt>true</SilkPublicApiExempt>
Expand Down
Loading
Loading