From c572b82fbaf2f392f10590c3a580daba2aedcb2d Mon Sep 17 00:00:00 2001 From: Alexia Ingerson Date: Tue, 26 Nov 2024 13:02:38 -0800 Subject: [PATCH] appveyor: update efa windows header download Old link was failing. Instead of downloading and extracting from zip file, just clone github repo to copy headers Signed-off-by: Alexia Ingerson --- .appveyor.ps1 | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.appveyor.ps1 b/.appveyor.ps1 index a44a887c9fd..b6a0e3e0b91 100644 --- a/.appveyor.ps1 +++ b/.appveyor.ps1 @@ -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"