Skip to content

Commit

Permalink
+22
Browse files Browse the repository at this point in the history
  • Loading branch information
SunSerega committed Jun 24, 2023
1 parent d57b4de commit c4f7c0f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/on commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,11 @@ jobs:
Write-Host "Compile: " -NoNewline
Start-Process -FilePath 'D:\PABCNETC\pabcnetcclear.exe' -ArgumentList '"PackAll.pas"' -Wait -NoNewWindow
Start-Process -FilePath 'PackAll.exe' -ArgumentList '"Stages= FirstPack + Reference + Dummy + OpenCL+OpenCLABC + OpenGL+OpenGLABC + Compile + Test + Release" "PasCompPath=D:\PABCNETC\pabcnetcclear.exe" SkipFinishedPause' -Wait -NoNewWindow
if ($?) {
Exit $?
$process = Start-Process -FilePath 'PackAll.exe' -ArgumentList '"Stages= FirstPack + Reference + Dummy + OpenCL+OpenCLABC + OpenGL+OpenGLABC + Compile + Test + Release" "PasCompPath=D:\PABCNETC\pabcnetcclear.exe" SkipFinishedPause' -NoNewWindow -PassThru -Wait
$exitCode = $process.ExitCode
if ($exitCode -ne 0) {
Write-Host "Exit code is not 0: $exitCode"
exit $exitCode
}
- name: Check for changes
Expand Down Expand Up @@ -83,11 +85,6 @@ jobs:
with:
submodules: 'recursive'

- name: Skip ubuntu
run: echo "need workaround for mono anon pipes"
continue-on-error: true
if: ${{ false }}

- name: apt-gen update
run: sudo apt-get update

Expand Down Expand Up @@ -124,7 +121,8 @@ jobs:
run: |
"../PABCNETC/pabcnetcclear.exe" "PackAll.pas"
"PackAll.exe" "Stages= FirstPack + Reference + Dummy + OpenCL+OpenCLABC + OpenGL+OpenGLABC + Compile + Test + Release" "PasCompPath=../PABCNETC/pabcnetcclear.exe" SkipFinishedPause
# TODO need mono anon pipes workaround
# "PackAll.exe" "Stages= FirstPack + Reference + Dummy + OpenCL+OpenCLABC + OpenGL+OpenGLABC + Compile + Test + Release" "PasCompPath=../PABCNETC/pabcnetcclear.exe" SkipFinishedPause

- name: Check for changes
run: |
Expand Down
2 changes: 0 additions & 2 deletions Utils/AOtp.pas
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,6 @@ procedure MakeSureToExit;
FinishedPause;
Halt(1);
end);
Console.WriteLine('Halt(0)');
Halt(0);
end;

initialization
Expand Down

0 comments on commit c4f7c0f

Please sign in to comment.