diff options
Diffstat (limited to 'libs/esptk/.github/workflows')
| -rw-r--r-- | libs/esptk/.github/workflows/build.yml | 30 | ||||
| -rw-r--r-- | libs/esptk/.github/workflows/linting.yml | 16 |
2 files changed, 46 insertions, 0 deletions
diff --git a/libs/esptk/.github/workflows/build.yml b/libs/esptk/.github/workflows/build.yml new file mode 100644 index 0000000..a632005 --- /dev/null +++ b/libs/esptk/.github/workflows/build.yml @@ -0,0 +1,30 @@ +name: Build ESPTK + +on: + push: + branches: [master] + pull_request: + types: [opened, synchronize, reopened] + +jobs: + build: + runs-on: windows-2022 + steps: + - uses: actions/checkout@v4 + + - name: Configure ESPTK build + shell: pwsh + run: | + cmake --preset vs2022-windows "-DCMAKE_INSTALL_PREFIX=install" + + - name: Build ESPTK + run: cmake --build vsbuild --config RelWithDebInfo + + - name: Install ESPTK + run: cmake --install vsbuild --config RelWithDebInfo + + - name: Upload ESPTK artifact + uses: actions/upload-artifact@master + with: + name: esptk + path: ./install diff --git a/libs/esptk/.github/workflows/linting.yml b/libs/esptk/.github/workflows/linting.yml new file mode 100644 index 0000000..8bd995c --- /dev/null +++ b/libs/esptk/.github/workflows/linting.yml @@ -0,0 +1,16 @@ +name: Lint ESPTK + +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: "." |
