Skip to content

Commit

Permalink
appveyor: update efa windows header download
Browse files Browse the repository at this point in the history
Old link was failing. Instead of downloading and extracting
from zip file, just clone github repo to copy headers

Signed-off-by: Alexia Ingerson <[email protected]>
  • Loading branch information
aingerson committed Nov 26, 2024
1 parent 2ad2e37 commit c572b82
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .appveyor.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,11 @@ Write-Verbose "moving NetworkDirect headers.."
move NetDirect\include\* include\windows
Write-Verbose "done"

$efaWinVersion="1.0.0"
Write-Verbose "downloading efawin version ${efaWinVersion} files.."
Invoke-WebRequest -Uri "https://github.com/aws/efawin/archive/refs/tags/v${efaWinVersion}.zip" -OutFile "efawin.zip"
Write-Verbose "done"

Write-Verbose "extracting efawin files.."
$wd=$PWD.Path; & { Add-Type -A "System.IO.Compression.FileSystem"; [IO.Compression.ZipFile]::ExtractToDirectory("$wd\efawin.zip", "$wd"); }
$efaWinVersion="v1.0.0"
Write-Verbose "downloading efawin ${efaWinVersion} files.."
git clone -b $efaWinVersion https://github.com/aws/efawin
Write-Verbose "done"

Write-Verbose "copying efawin files.."
xcopy /s efawin-$efaWinVersion\interface\* prov\efa\src\windows\
xcopy /s efawin\interface\* prov\efa\src\windows\
Write-Verbose "done"

0 comments on commit c572b82

Please sign in to comment.