Skip to content

CI

CI #27

Workflow file for this run

name: CI
on:
push:
branches:
- master
- xplat-editor
paths:
- '.github/workflows/**'
- 'build/**'
- 'deps/**'
- 'sources/**'
- '!**/.all-contributorsrc'
- '!**/.editorconfig'
- '!**/.gitignore'
- '!**/*.md'
- '!crowdin.yml'
workflow_dispatch:
jobs:
### Misc. ###
Assembly-Processor:
strategy:
matrix:
build-type: [Release]
uses: ./.github/workflows/build-assembly-processor.yml
secrets: inherit
with:
build-type: ${{ matrix.build-type }}
VS-Package:
strategy:
matrix:
build-type: [Debug] # Release has a bug and cannot build
uses: ./.github/workflows/build-vs-package.yml
secrets: inherit
with:
build-type: ${{ matrix.build-type }}
### Runtimes ###
# Android-Runtime:
# strategy:
# matrix:
# build-type: [Release]
# uses: ./.github/workflows/build-android.yml
# secrets: inherit
# with:
# build-type: ${{ matrix.build-type }}
iOS-Runtime:
strategy:
matrix:
build-type: [Release]
uses: ./.github/workflows/build-ios.yml
secrets: inherit
with:
build-type: ${{ matrix.build-type }}
Linux-Runtime:
strategy:
matrix:
build-type: [Release]
graphics-api: [OpenGL, Vulkan]
uses: ./.github/workflows/build-linux-runtime.yml
secrets: inherit
with:
build-type: ${{ matrix.build-type }}
graphics-api: ${{ matrix.graphics-api }}
Windows-Runtime:
strategy:
matrix:
build-type: [Release]
graphics-api: [Direct3D11, Direct3D12, OpenGL, OpenGLES, Vulkan]
uses: ./.github/workflows/build-windows-runtime.yml
secrets: inherit
with:
build-type: ${{ matrix.build-type }}
graphics-api: ${{ matrix.graphics-api }}
### Tests ###
Windows-Tests:
needs: Windows-Runtime
strategy:
matrix:
build-type: [Release]
test-category: [Simple]
uses: ./.github/workflows/test-windows.yml
secrets: inherit
with:
build-type: ${{ matrix.build-type }}
test-category: ${{ matrix.test-category }}
### Editor ###
Editor:
needs: [Linux-Runtime, Windows-Runtime]
strategy:
matrix:
build-type: [Release]
platform: [Linux, Windows]
uses: ./.github/workflows/build-avalonia-editor.yml
secrets: inherit
with:
build-type: ${{ matrix.build-type }}
platform: ${{ matrix.platform }}