Skip to content

Commit c89f1ab

Browse files
committed
Add Github actions.
1 parent 036bd3e commit c89f1ab

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build NXM Handler
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
types: [ opened, synchronize, reopened ]
8+
9+
env:
10+
VCPKG_BINARY_SOURCES: ${{ vars.AZ_BLOB_VCPKG_URL != '' &&
11+
format('clear;x-azblob,{0},{1},readwrite', vars.AZ_BLOB_VCPKG_URL,
12+
secrets.AZ_BLOB_SAS) || '' }}
13+
14+
jobs:
15+
build:
16+
runs-on: windows-2022
17+
steps:
18+
- name: Build NXM Handler
19+
id: build-modorganizer
20+
uses: ModOrganizer2/build-with-mob-action@master
21+
with:
22+
mo2-dependencies: uibase

.github/workflows/linting.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Lint NXM Handler
2+
3+
on:
4+
push:
5+
pull_request:
6+
types: [ opened, synchronize, reopened ]
7+
8+
jobs:
9+
lint:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Check format
14+
uses: ModOrganizer2/check-formatting-action@master
15+
with:
16+
check-path: "."
17+
exclude-regex: "third-party"

0 commit comments

Comments
 (0)