Add github action for build and formatting.

This commit is contained in:
Mikaël Capelle
2024-05-26 11:19:57 +02:00
parent cbf8c38fd6
commit d8bb7be4d4
2 changed files with 33 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
name: Build TTW Plugin
on:
push:
branches: master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: windows-2022
steps:
- name: Build TTW Plugin
uses: ModOrganizer2/build-with-mob-action@master
with:
mo2-dependencies: cmake_common uibase game_gamebryo
+17
View File
@@ -0,0 +1,17 @@
name: Lint TTW Plugin
on:
push:
pull_request:
types: [opened, synchronize, reopened]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check format
uses: ModOrganizer2/check-formatting-action@master
with:
check-path: "."
exclude-regex: "third-party"