diff --git a/.github/workflows/msvc2022-qt6-drivers.yml b/.github/workflows/msvc2022-qt6-drivers.yml index 233d78276..a352240b8 100644 --- a/.github/workflows/msvc2022-qt6-drivers.yml +++ b/.github/workflows/msvc2022-qt6-drivers.yml @@ -53,9 +53,13 @@ jobs: $mysqlInstallationPath = Split-Path -Parent -Path (Split-Path -Parent -Path $mysqlExePath) "TinyMySQLInstallationPath=$mysqlInstallationPath" >> $env:GITHUB_ENV + # Parallel 10 is maximum what my computer allows, I have to invoke Linux self-hosted runners + # manually so 10 is ok. + # -- + # The description below is Outdated but I leave the comment. # I must divide all parallel by 2 because I have 2 self-hosted runners on the same computer # and also -1 for reserve to avoid swapping, so 10 / 2 - 1 = 4 - "TinyParallel=4" >> $env:GITHUB_ENV + "TinyParallel=10" >> $env:GITHUB_ENV $tinyormPath = Resolve-Path -Path ./main "TinyORMPath=$tinyormPath" >> $env:GITHUB_ENV diff --git a/.github/workflows/vcpkg-windows.yml b/.github/workflows/vcpkg-windows.yml index c663c54a5..f392cabcc 100644 --- a/.github/workflows/vcpkg-windows.yml +++ b/.github/workflows/vcpkg-windows.yml @@ -65,9 +65,13 @@ jobs: $isSelfHostedRunner = '${{ runner.name }}'.StartsWith('merydeye-', $true, $null) "TinyIsSelfHostedRunner=$isSelfHostedRunner" >> $env:GITHUB_ENV + # Parallel 10 is maximum what my computer allows, I have to invoke Linux self-hosted runners + # manually so 10 is ok. + # -- + # The description below is Outdated but I leave the comment. # I must divide all parallel by 2 because I have 2 self-hosted runners on the same computer # and also -1 for reserve to avoid swapping, so 10 / 2 - 1 = 4 - $parallel = $isSelfHostedRunner ? 4 : 2 + $parallel = $isSelfHostedRunner ? 10 : 2 "TinyParallel=$parallel" >> $env:GITHUB_ENV $tinyormPath = Resolve-Path -Path ./main