Skip to content

Commit

Permalink
workflows updated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Apr 12, 2024
1 parent b01eeb1 commit 1e43471
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/msvc2022-qt6-drivers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/vcpkg-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e43471

Please sign in to comment.