Skip to content

Add Stride.Core.CompilerServices to the solution filters (.slnf) #498

Add Stride.Core.CompilerServices to the solution filters (.slnf)

Add Stride.Core.CompilerServices to the solution filters (.slnf) #498

name: Build Linux Runtime
on:
pull_request:
paths:
- '.github/workflows/build-linux-runtime.yml'
- 'build/Stride.Runtime.slnf'
- 'deps/**'
- 'sources/core/**'
- 'sources/engine/**'
- 'sources/native/**'
- 'sources/shaders/**'
- 'sources/shared/**'
- 'sources/sdk/**'
- '!**/.all-contributorsrc'
- '!**/.editorconfig'
- '!**/.gitignore'
- '!**/*.md'
- '!crowdin.yml'
types: [opened, synchronize, reopened, ready_for_review]
workflow_dispatch:
inputs:
build-type:
description: Build Configuration
default: Debug
type: choice
options:
- Debug
- Release
workflow_call:
inputs:
build-type:
default: Debug
type: string
concurrency:
group: build-linux-runtime-${{ github.event.pull_request.number || github.ref }}-${{ github.event.inputs.build-type || inputs.build-type || 'Debug' }}
cancel-in-progress: true
jobs:
#
# Build Stride Runtime for Linux
#
Linux-Runtime:
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call' || github.event.pull_request.draft == false }}
name: Build (${{ github.event.inputs.build-type || inputs.build-type || 'Debug' }})
runs-on: windows-2025-vs2026
steps:
- uses: actions/checkout@v4
with:
lfs: true
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- name: Build
run: |
dotnet build build\Stride.Runtime.slnf `
-p:StrideNativeBuildMode=Clang `
-m:1 -nr:false `
-v:m -p:WarningLevel=0 `
-p:Configuration=${{ github.event.inputs.build-type || inputs.build-type || 'Debug' }} `
-p:StridePlatforms=Linux `
-p:StrideSkipUnitTests=true `
-p:StrideSkipAutoPack=true