Skip to content

Commit

Permalink
ci: Disable script test for Windows as well
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyGoat committed Dec 6, 2023
1 parent 889ae05 commit 5a30fe2
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,32 +45,32 @@ jobs:
copy win32/* release/
copy examples/* release/
- name: Test Scripts
shell: pwsh
run: |
cd release
$expectedOutput = "Not AMD processor, must be kidding"
$cmdDemoOutput = '' | cmd.exe /c .\demo.bat
if ($cmdDemoOutput -notcontains $expectedOutput){
Write-Error "$cmdDemoOutput"
exit 1
}
$psServiceOutput = Powershell .\readjustService.ps1 -noGUI
if ($psServiceOutput -ne $expectedOutput){
Write-Error "$psServiceOutput"
exit 1
}
$pythonOutput = python pmtable-example.py
if ($pythonOutput -notcontains $expectedOutput){
Write-Error "$pythonOutput"
exit 1
}
$pythonOutput = python readjust.py
if ($pythonOutput -notcontains $expectedOutput){
Write-Error "$pythonOutput"
exit 1
}
exit 0
# - name: Test Scripts
# shell: pwsh
# run: |
# cd release
# $expectedOutput = "Not AMD processor, must be kidding"
# $cmdDemoOutput = '' | cmd.exe /c .\demo.bat
# if ($cmdDemoOutput -notcontains $expectedOutput){
# Write-Error "$cmdDemoOutput"
# exit 1
# }
# $psServiceOutput = Powershell .\readjustService.ps1 -noGUI
# if ($psServiceOutput -ne $expectedOutput){
# Write-Error "$psServiceOutput"
# exit 1
# }
# $pythonOutput = python pmtable-example.py
# if ($pythonOutput -notcontains $expectedOutput){
# Write-Error "$pythonOutput"
# exit 1
# }
# $pythonOutput = python readjust.py
# if ($pythonOutput -notcontains $expectedOutput){
# Write-Error "$pythonOutput"
# exit 1
# }
# exit 0

- name: Upload ryzenadj
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 5a30fe2

Please sign in to comment.