Linux build and CI #327
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - '.github/workflows/**' | |
| - 'build/**' | |
| - 'deps/**' | |
| - 'sources/**' | |
| - '!**/.all-contributorsrc' | |
| - '!**/.editorconfig' | |
| - '!**/.gitignore' | |
| - '!**/*.md' | |
| - '!crowdin.yml' | |
| pull_request: | |
| paths: | |
| - '.github/workflows/**' | |
| - 'build/**' | |
| - 'deps/**' | |
| - 'sources/**' | |
| - '!**/.all-contributorsrc' | |
| - '!**/.editorconfig' | |
| - '!**/.gitignore' | |
| - '!**/*.md' | |
| - '!crowdin.yml' | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| workflow_dispatch: | |
| permissions: | |
| checks: write | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| 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] | |
| uses: ./.github/workflows/build-linux-runtime.yml | |
| secrets: inherit | |
| with: | |
| build-type: ${{ matrix.build-type }} | |
| Windows-Runtime: | |
| strategy: | |
| matrix: | |
| build-type: [Release] | |
| graphics-api: [Direct3D11, Direct3D12, Vulkan] | |
| uses: ./.github/workflows/build-windows-runtime.yml | |
| secrets: inherit | |
| with: | |
| build-type: ${{ matrix.build-type }} | |
| graphics-api: ${{ matrix.graphics-api }} | |
| ### Tests ### | |
| # TEMP: disabled to speed up CI iteration — only Linux-Tests-Game enabled | |
| # Windows-Tests-Simple: | |
| # needs: Windows-Runtime | |
| # uses: ./.github/workflows/test-windows-simple.yml | |
| # secrets: inherit | |
| # with: | |
| # build-type: Debug | |
| # Windows-Tests-Game: | |
| # needs: Windows-Runtime | |
| # uses: ./.github/workflows/test-windows-game.yml | |
| # secrets: inherit | |
| # with: | |
| # build-type: Debug | |
| # Linux-Tests-Simple: | |
| # needs: Linux-Runtime | |
| # uses: ./.github/workflows/test-linux-simple.yml | |
| # secrets: inherit | |
| # with: | |
| # build-type: Debug | |
| Linux-Tests-Game: | |
| needs: Linux-Runtime | |
| uses: ./.github/workflows/test-linux-game.yml | |
| secrets: inherit | |
| with: | |
| build-type: Debug |