.github/workflows: Migrate workflows to Blacksmith runners#7454
.github/workflows: Migrate workflows to Blacksmith runners#7454blacksmith-sh[bot] wants to merge 37 commits into
Conversation
|
This is me doing some tests |
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
🍎 MacOS DMG universal buildsDownload a MacOS DMG universal build of this PR for testing. 🪟 Windows buildsDownload a Windows build of this PR for testing and for arm64. (Built from commit 32ab37e) 🐧 Linux AppImage buildsDownload a Linux AppImage build of this PR for testing. 📱 Android buildsDownload an Android arm64 build of this PR for testing. Other Android architectures |
|
@codesmith please stop committing |
Understood, I'll stop committing on this PR. PR: #7454 |
273105a to
9fc3c9f
Compare
|
@codesmith we need ATL installed in the blacksmith runner for the windows (x64) workflow, however the current logic doesn't seem to work. What is required here?
|
The problem is that Two things need to change:
Concrete replacement for the - name: 🪳 Install Visual Studio ATL component
if: matrix.platform_arch == 'x64' # blacksmith windows-2025 image
shell: powershell
run: |
$vswhere = "${Env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
$installPath = & $vswhere -latest -products * -property installationPath
if (-not $installPath) { throw "Visual Studio install not found via vswhere" }
$bootstrapper = "$env:RUNNER_TEMP\vs_BuildTools.exe"
Invoke-WebRequest -Uri "https://aka.ms/vs/17/release/vs_BuildTools.exe" -OutFile $bootstrapper
$args = @(
'modify',
'--installPath', $installPath,
'--add', 'Microsoft.VisualStudio.Component.VC.ATL',
'--quiet', '--norestart', '--wait', '--nocache'
)
$p = Start-Process -FilePath $bootstrapper -ArgumentList $args -Wait -PassThru -NoNewWindow
if ($p.ExitCode -ne 0 -and $p.ExitCode -ne 3010) {
throw "Failed to install ATL component (exit $($p.ExitCode))"
}
# Poll for atlbase.h to make sure the on-disk layout caught up before later steps consume it.
$atlRoot = Join-Path $installPath 'VC\Tools\MSVC'
$deadline = (Get-Date).AddMinutes(2)
while ((Get-Date) -lt $deadline) {
$hit = Get-ChildItem $atlRoot -Recurse -Filter atlbase.h -ErrorAction SilentlyContinue | Select-Object -First 1
if ($hit) { Write-Host "ATL ready at $($hit.FullName)"; return }
Start-Sleep -Seconds 5
}
throw "ATL header atlbase.h still missing under $atlRoot after install"Then drop the separate A few smaller things while we're here:
Maintainer asked me to stop committing on this PR, so I'm answering the "what is required" rather than pushing. Say the word and I'll push the edit. PR: #7454 |
|
@codesmith continue to commit on the windows workflow only, the qtmultimedia issue is unrelated and no longer relevant |
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Pushed. Issues Identified The Fixes Applied In
The change is scoped to the x64 Windows job; the arm64 entry and other jobs in the file are untouched. The diff also incidentally removed the stray trailing whitespace on those lines, which should clear Verification Pushed PR: #7454 |
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
|
@codesmith on android, use a blacksmith sticky disk for /home/runner/.cache/vcpkg/archives the key should be the matrix triplet |
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Pushed. Fixes Applied Added a PR: #7454 |
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Removed the command to list the contents of the vcpkg cache.
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
|
@codesmith stop committing |
Understood, I'll stop committing on this PR. PR: #7454 |

This PR has been automatically generated by a team member in your GitHub organization using Blacksmith's Migration Wizard. This PR changes the following:
runs-on: blacksmith-4vcpu-ubuntu-2204). Learn more about the different instances available to choose from.Need help on this PR? Tag
@codesmithwith what you need. Autofix is enabled.