Skip to content
Closed
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
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,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
57 changes: 57 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: CI Check
on:
push:
branches:
- 'main'
- 'release/**'
paths-ignore:
- 'documentation/**'
tags:
- '*'
pull_request: # all branches
permissions:
packages: write
jobs:
Check:
runs-on: macos-latest-xlarge
steps:
- uses: actions/checkout@v3.5.2
with:
submodules: 'false'
- name: Clone submodules non-recursively
run: git submodule update --init --depth 0
- name: Setup Java JDK 21
uses: actions/setup-java@v2.3.0
with:
java-version: 21
distribution: "temurin"
- name: Setup Android Environment
uses: android-actions/setup-android@v2
env:
ANDROID_SDK_ROOT: /Users/runner/Library/Android/sdk
- name: Install Android Platforms
run: |
sdkmanager --install "build-tools;32.0.0"
sdkmanager --install "platform-tools"
sdkmanager --install "platforms;android-31"
sdkmanager --install "platforms;android-33"
sdkmanager --install "platforms;android-34"
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.414
- name: Setup .NET 7.0
uses: actions/setup-dotnet@v1
with:
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: Compile
if: ${{ github.repository != 'dotnet/Silk.NET' || !startsWith(github.ref, 'refs/tags/') }}
run: ./build.sh Compile
- name: Test
if: ${{ github.repository != 'dotnet/Silk.NET' || !startsWith(github.ref, 'refs/tags/') }}
run: ./build.sh Test
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -482,5 +482,8 @@ src/Website/Silk.NET.Statiq/cache
# As much as I love Mac, really not interested in this litter.
**/.DS_Store

# Nuke build
.nuke/temp

website/
version.txt
Loading
Loading