mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-05 07:36:14 +08:00
WIP
This commit is contained in:
parent
fc7ec34ca3
commit
4003f47b6e
1 changed files with 4 additions and 9 deletions
13
appveyor.yml
13
appveyor.yml
|
@ -2,7 +2,7 @@ version: 3.0.1.{build}
|
||||||
image: Visual Studio 2019
|
image: Visual Studio 2019
|
||||||
clone_folder: C:\ProxSpace\pm3\proxmark
|
clone_folder: C:\ProxSpace\pm3\proxmark
|
||||||
cache:
|
cache:
|
||||||
- C:\ps-cache -> appveyor.yml
|
- C:\ps-cache
|
||||||
environment:
|
environment:
|
||||||
proxspace_url: https://github.com/Gator96100/ProxSpace/archive/master.zip
|
proxspace_url: https://github.com/Gator96100/ProxSpace/archive/master.zip
|
||||||
proxspace_zip_file: \proxspace.zip
|
proxspace_zip_file: \proxspace.zip
|
||||||
|
@ -53,9 +53,7 @@ clone_script:
|
||||||
Write-Host "[ OK ]" -ForegroundColor Green
|
Write-Host "[ OK ]" -ForegroundColor Green
|
||||||
}
|
}
|
||||||
|
|
||||||
$env:wsl_installed = false
|
$env:WSLInstalljob = Start-Job -Name WSLInstall -ScriptBlock {
|
||||||
|
|
||||||
$WSLjob = Start-Job -Name WSLInstall -ScriptBlock {
|
|
||||||
Function WSLExec($Text, $Cmd) {
|
Function WSLExec($Text, $Cmd) {
|
||||||
Write-Host "$Text"
|
Write-Host "$Text"
|
||||||
wsl -- bash -c $Cmd
|
wsl -- bash -c $Cmd
|
||||||
|
@ -70,7 +68,6 @@ clone_script:
|
||||||
WSLExec "WSL install..." "sudo apt-get -y install --reinstall --no-install-recommends git ca-certificates build-essential pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev libbz2-dev qtbase5-dev cmake 1>/dev/null"
|
WSLExec "WSL install..." "sudo apt-get -y install --reinstall --no-install-recommends git ca-certificates build-essential pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev libbz2-dev qtbase5-dev cmake 1>/dev/null"
|
||||||
WSLExec "WSL QT fix..." "sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5"
|
WSLExec "WSL QT fix..." "sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5"
|
||||||
Add-AppveyorMessage -Message "WSL setup took $(([System.Environment]::TickCount-$WSLInstallTime) / 1000) sec" -Category Information
|
Add-AppveyorMessage -Message "WSL setup took $(([System.Environment]::TickCount-$WSLInstallTime) / 1000) sec" -Category Information
|
||||||
$env:wsl_installed = true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$env:PSInstallTime=[System.Environment]::TickCount
|
$env:PSInstallTime=[System.Environment]::TickCount
|
||||||
|
@ -157,7 +154,7 @@ install:
|
||||||
}
|
}
|
||||||
|
|
||||||
Start-Sleep -s 5
|
Start-Sleep -s 5
|
||||||
Receive-Job -Name WSLInstall -ErrorAction SilentlyContinue
|
Receive-Job -Job $env:WSLInstalljob -ErrorAction SilentlyContinue
|
||||||
}
|
}
|
||||||
#Receive-Job -Wait -Name PSInstall
|
#Receive-Job -Wait -Name PSInstall
|
||||||
}
|
}
|
||||||
|
@ -238,9 +235,7 @@ build_script:
|
||||||
}
|
}
|
||||||
|
|
||||||
#WSL: wait for installation to finish
|
#WSL: wait for installation to finish
|
||||||
while(!$env:wsl_installed) {
|
Receive-Job -Job $env:WSLInstalljob -ErrorAction SilentlyContinue
|
||||||
Start-Sleep -s 5
|
|
||||||
}
|
|
||||||
|
|
||||||
#Windows Subsystem for Linux (WSL)
|
#Windows Subsystem for Linux (WSL)
|
||||||
Write-Host "---------- WSL make ----------" -ForegroundColor Yellow
|
Write-Host "---------- WSL make ----------" -ForegroundColor Yellow
|
||||||
|
|
Loading…
Reference in a new issue