48 lines
934 B
YAML
48 lines
934 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- master
|
|
- develop
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
native-windows:
|
|
name: Native Windows Build And Tests
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Configure Debug
|
|
shell: powershell
|
|
run: cmake --preset vs2022-x64-debug
|
|
|
|
- name: Build Debug
|
|
shell: powershell
|
|
run: cmake --build --preset build-debug
|
|
|
|
- name: Run Native Tests
|
|
shell: powershell
|
|
run: cmake --build --preset build-debug --target RUN_TESTS
|
|
|
|
ui-ubuntu:
|
|
name: React UI Build
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install UI Dependencies
|
|
working-directory: ui
|
|
run: npm ci --no-audit --no-fund
|
|
|
|
- name: Build UI
|
|
working-directory: ui
|
|
run: npm run build
|