Skip to content
Open
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
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
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is reordered since it's better to fail on the faster check.

- 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
Loading
Loading