Skip to content

Add CI testing

Add CI testing #15

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
branches:
- main
- release/*
pull_request:
branches:
- main
- release/*
concurrency:
# Cancel any workflow currently in progress for the same PR.
# Allow running concurrently with any other commits.
group: build-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
permissions: read-all
jobs:
# build-windows:
# name: WinUser
# needs: []
# strategy:
# fail-fast: false
# matrix:
# config: ['Debug', 'Release']
# plat: [windows] # TODO: Support uwp, gamecore_console
# os: ['windows-2022']
# arch: [x86, x64, arm64]
# uses: ./.github/workflows/build-reuse-win.yml
# with:
# config: ${{ matrix.config }}
# plat: ${{ matrix.plat }}
# os: ${{ matrix.os }}
# arch: ${{ matrix.arch }}
# build-windows-kernel:
# name: WinKernel
# needs: []
# strategy:
# fail-fast: false
# matrix:
# config: ['Debug', 'Release']
# plat: [winkernel]
# os: ['windows-2022']
# arch: [x64, arm64]
# uses: ./.github/workflows/build-reuse-winkernel.yml
# with:
# config: ${{ matrix.config }}
# plat: ${{ matrix.plat }}
# os: ${{ matrix.os }}
# arch: ${{ matrix.arch }}
# build-ubuntu-cross-compile:
# name: UbuntuArm
# needs: []
# strategy:
# fail-fast: false
# matrix:
# config: ['Debug', 'Release']
# plat: [linux]
# os: ['ubuntu-20.04', 'ubuntu-22.04']
# arch: [arm, arm64]
# uses: ./.github/workflows/build-reuse-unix.yml
# with:
# config: ${{ matrix.config }}
# plat: ${{ matrix.plat }}
# os: ${{ matrix.os }}
# arch: ${{ matrix.arch }}
build-ubuntu:
name: Ubuntu
needs: []
strategy:
fail-fast: false
matrix:
# config: ['Debug', 'Release']
config: ['Debug']
# plat: [linux, android]
plat: [linux]
# os: ['ubuntu-20.04', 'ubuntu-22.04']
os: ['ubuntu-22.04']
# arch: [x86, x64]
arch: [x64]
# clang: ['', '-Clang']
clang: ['']
exclude:
# Android doesn't support x86
- plat: android
arch: x86
# Android doesn't use Clang
- plat: android
clang: '-Clang'
uses: ./.github/workflows/build-reuse-unix.yml
with:
config: ${{ matrix.config }}
plat: ${{ matrix.plat }}
os: ${{ matrix.os }}
arch: ${{ matrix.arch }}
clang: ${{ matrix.clang }}
# build-darwin:
# name: MacOs
# needs: []
# strategy:
# fail-fast: false
# matrix:
# config: ['Debug', 'Release']
# plat: [macos, ios]
# os: ['macos-12']
# arch: [x64, arm64]
# uses: ./.github/workflows/build-reuse-unix.yml
# with:
# config: ${{ matrix.config }}
# plat: ${{ matrix.plat }}
# os: ${{ matrix.os }}
# arch: ${{ matrix.arch }}