aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-05-24 23:33:02 +0200
committerDan Engelbrecht <[email protected]>2022-05-24 23:33:02 +0200
commita5c70af49a66c0a708ba612a29e3cd4639e1c613 (patch)
treea9bbb5cd7767a4e92ce4186dfe3e5d4f49580f29 /.github/workflows
parentMerge pull request #102 from EpicGames/de/auto-create-namespaces (diff)
downloadzen-a5c70af49a66c0a708ba612a29e3cd4639e1c613.tar.xz
zen-a5c70af49a66c0a708ba612a29e3cd4639e1c613.zip
run clang format on single instance, don't wait for clang-format
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/self_host_build.yml75
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: