misc: clang-formats code #67
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows change | |
on: | |
push: | |
paths: | |
- ./cppsrc/win | |
pull_request: | |
branches: | |
- master | |
- develop | |
jobs: | |
win-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Windows API lint | |
run: | | |
npm ci | |
npm run format:win | |
git diff | tee .ci-temp | |
exit $(test -f .ci-temp && cat .ci-temp | wc -l) | |
win-build: | |
needs: win-lint | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Windows API build | |
working-directory: ${{github.workspace}} | |
shell: bash | |
run: | | |
npm ci | |
npm run build:bin | |