diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/self_host_build.yml | 75 |
1 files changed, 58 insertions, 17 deletions
diff --git a/.github/workflows/self_host_build.yml b/.github/workflows/self_host_build.yml index 3864151ce..eb378e5f6 100644 --- a/.github/workflows/self_host_build.yml +++ b/.github/workflows/self_host_build.yml @@ -9,30 +9,72 @@ jobs: clang-format: name: Check clang-format runs-on: [self-hosted, linux, x64] - strategy: - matrix: - path: - - 'zen' - - 'zencore' - - 'zencore-test' - - 'zenhttp' - - 'zenserver-test' - - 'zenstore' - - 'zenstore-test' - - 'zentest-appstub' - - 'zenutil' - - 'zenserver' + steps: - uses: actions/checkout@v2 - - name: clang-format ${{ matrix.path }} + + - name: clang-format 'zen' + uses: jidicula/[email protected] + with: + clang-format-version: '13' + check-path: 'zen' + + - name: clang-format 'zencore' + uses: jidicula/[email protected] + with: + clang-format-version: '13' + check-path: 'zencore' + + - name: clang-format 'zencore-test' + uses: jidicula/[email protected] + with: + clang-format-version: '13' + check-path: 'zencore-test' + + - name: clang-format 'zenhttp' + uses: jidicula/[email protected] + with: + clang-format-version: '13' + check-path: 'zenhttp' + + - name: clang-format 'zenserver-test' + uses: jidicula/[email protected] + with: + clang-format-version: '13' + check-path: 'zenserver-test' + + - name: clang-format 'zenstore' + uses: jidicula/[email protected] + with: + clang-format-version: '13' + check-path: 'zenstore' + + - name: clang-format 'zenstore-test' + uses: jidicula/[email protected] + with: + clang-format-version: '13' + check-path: 'zenstore-test' + + - name: clang-format 'zentest-appstub' + uses: jidicula/[email protected] + with: + clang-format-version: '13' + check-path: 'zentest-appstub' + + - name: clang-format 'zenutil' + uses: jidicula/[email protected] + with: + clang-format-version: '13' + check-path: 'zenutil' + + - name: clang-format 'zenserver' uses: jidicula/[email protected] with: clang-format-version: '13' - check-path: ${{ matrix.path }} + check-path: 'zenserver' windows-build: name: Build Windows - needs: clang-format runs-on: [self-hosted, windows, x64] strategy: matrix: @@ -81,7 +123,6 @@ jobs: linux-build: name: Build Linux - needs: clang-format runs-on: [self-hosted, linux, x64] strategy: matrix: |