CI/CD
This commit is contained in:
47
.gitea/workflows/ci.yml
Normal file
47
.gitea/workflows/ci.yml
Normal file
@@ -0,0 +1,47 @@
|
||||
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: pwsh
|
||||
run: cmake --preset vs2022-x64-debug
|
||||
|
||||
- name: Build Debug
|
||||
shell: pwsh
|
||||
run: cmake --build --preset build-debug
|
||||
|
||||
- name: Run Native Tests
|
||||
shell: pwsh
|
||||
run: cmake --build --preset build-debug --target RUN_TESTS
|
||||
|
||||
ui-ubuntu:
|
||||
name: React UI Build
|
||||
runs-on: nubuntu-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
|
||||
Reference in New Issue
Block a user