File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test pkgconf on Windows ARM64
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ test-pkgconf :
8+ name : Install and check pkgconf
9+ runs-on : windows-11-arm
10+
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v4
14+
15+ - name : Install pkgconf via vcpkg
16+ shell : pwsh
17+ run : |
18+ & "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" arm64
19+
20+ $env:VCPKG_ROOT = "C:\vcpkg"
21+
22+ if (-not (Test-Path $env:VCPKG_ROOT)) {
23+ git clone https://github.com/microsoft/vcpkg.git $env:VCPKG_ROOT
24+ }
25+
26+ Set-Location $env:VCPKG_ROOT
27+
28+ if (-not (Test-Path ".\vcpkg.exe")) {
29+ ./bootstrap-vcpkg.bat -disableMetrics
30+ }
31+
32+ ./vcpkg install pkgconf:arm64-windows
33+
34+ $pkgconfPath = "$env:VCPKG_ROOT\installed\arm64-windows\tools\pkgconf"
35+ $env:PATH = "$pkgconfPath;$env:PATH"
36+
37+ Copy-Item "$pkgconfPath\pkgconf.exe" "$pkgconfPath\pkg-config.exe"
38+
39+ # Save the updated PATH for next steps
40+ echo "$pkgconfPath" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
41+
42+ - name : Check pkg-config version
43+ run : pkg-config --version
You can’t perform that action at this time.
0 commit comments