From d98ea1cf6f5970d62624cc9676c650c49d5ac1ab Mon Sep 17 00:00:00 2001 From: Nikita Smith Date: Thu, 27 Mar 2025 16:08:26 -0700 Subject: [PATCH] parallel build targets --- .github/workflows/builds.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index e38219f2..b2de41ba 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -13,6 +13,19 @@ jobs: runs-on: windows-2022 strategy: fail-fast: false + matrix: + target: + - raddbg + - radlink + - rdi_from_pdb + - raddump + - rdi_breakpad_from_pdb + compiler: + - msvc + - clang + mode: + - debug + - release steps: - name: checkout uses: actions/checkout@v2 @@ -20,13 +33,4 @@ jobs: shell: cmd run: | call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 - call build raddbg msvc debug || exit /b 1 - call build raddbg clang debug || exit /b 1 - call build rdi_from_pdb msvc debug || exit /b 1 - call build rdi_from_pdb clang debug || exit /b 1 - call build raddump msvc debug || exit /b 1 - call build raddump clang debug || exit /b 1 - call build radlink msvc debug || exit /b 1 - call build radlink clang debug || exit /b 1 - call build rdi_breakpad_from_pdb msvc debug || exit /b 1 - call build rdi_breakpad_from_pdb clang debug || exit /b 1 + call build ${{ matrix.target }} ${{ matrix.compiler }} ${{ matrix.mode }} || exit /b 1