update commit-ci.yml #68
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: Commit CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- '*' | |
tags: | |
- '![0-9]+.*' | |
pull_request: | |
jobs: | |
lint: | |
runs-on: macos-14 | |
steps: | |
- name: Checkout last commit | |
uses: actions/checkout@v4 | |
- name: Install latest lang-format | |
run: brew update && brew install clang-format | |
- name: Code style lint | |
run: make clang-format-lint | |
linux: | |
needs: lint | |
uses: ./.github/workflows/linux-build.yml | |
macos: | |
needs: lint | |
uses: ./.github/workflows/macos-build.yml | |
windows: | |
needs: lint | |
uses: ./.github/workflows/windows-build.yml | |
docker: | |
needs: lint | |
uses: ./.github/workflows/docker-build.yml |