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/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ on:
default: Debug
type: string

concurrency:
group: ${{ github.workflow }}-${{ 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 Android
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-assembly-processor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ on:
default: Debug
type: string

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.event.inputs.build-type || inputs.build-type || 'Debug' }}
cancel-in-progress: true

jobs:
#
# Build Assembly Processor
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ on:
default: Debug
type: string

concurrency:
group: ${{ github.workflow }}-${{ 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 iOS
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-launcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ on:
default: Debug
type: string

concurrency:
group: ${{ github.workflow }}-${{ 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 Windows
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-linux-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ on:
default: OpenGL
type: string

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.event.inputs.build-type || inputs.build-type || 'Debug' }}-${{ github.event.inputs.graphics-api || inputs.graphics-api || 'OpenGL' }}
cancel-in-progress: true

jobs:
#
# Build Stride Runtime for Linux
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-vs-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ on:
default: Debug
type: string

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.event.inputs.build-type || inputs.build-type || 'Debug' }}
cancel-in-progress: true

jobs:
#
# Build Visual Studio Package
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-windows-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ on:
default: Debug
type: string

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.event.inputs.build-type || inputs.build-type || 'Debug' }}
cancel-in-progress: true

jobs:
#
# Build Stride for Windows
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-windows-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ on:
default: Direct3D11
type: string

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.event.inputs.build-type || inputs.build-type || 'Debug' }}-${{ github.event.inputs.graphics-api || inputs.graphics-api || 'Direct3D11' }}
cancel-in-progress: true

jobs:
#
# Build Stride Runtime for Windows
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:
- '!crowdin.yml'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
### Misc. ###
Assembly-Processor:
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,17 @@ on:
default: Simple
type: string

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.event.inputs.build-type || inputs.build-type || 'Debug' }}-${{ github.event.inputs.test-category || inputs.test-category || 'Simple' }}
cancel-in-progress: true

jobs:
#
# Test Stride on Linux
#
Linux-Tests:
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call' || github.event.pull_request.draft == false }}
name: Test (${{ github.event.inputs.build-type || inputs.build-type }}, ${{ github.event.inputs.test-category || inputs.test-category }})
name: Test (${{ github.event.inputs.build-type || inputs.build-type }}, ${{ github.event.inputs.test-category || inputs.test-category || 'Simple' }})
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -43,14 +47,14 @@ jobs:
dotnet-version: '8.0.x'
- name: Build
run: |
dotnet build build\Stride.Tests.${{ github.event.inputs.test-category || inputs.test-category }}.slnf `
dotnet build build\Stride.Tests.${{ github.event.inputs.test-category || inputs.test-category || 'Simple' }}.slnf `
-restore -m:1 -nr:false `
-v:m -p:WarningLevel=0 `
-p:Configuration=${{ github.event.inputs.build-type || inputs.build-type }} `
-p:StridePlatforms=Linux `
-p:StrideGraphicsApis=OpenGL
- name: Test
run: |
dotnet test build\Stride.Tests.${{ github.event.inputs.test-category || inputs.test-category }}.slnf `
dotnet test build\Stride.Tests.${{ github.event.inputs.test-category || inputs.test-category || 'Simple' }}.slnf `
--no-build `
-p:Configuration=${{ github.event.inputs.build-type || inputs.build-type }}
4 changes: 4 additions & 0 deletions .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ on:
default: Simple
type: string

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.event.inputs.build-type || inputs.build-type || 'Debug' }}-${{ github.event.inputs.test-category || inputs.test-category || 'Simple' }}
cancel-in-progress: true

jobs:
#
# Test Stride on Windows
Expand Down
Loading