diff --git a/.github/workflows/on commit.yaml b/.github/workflows/on commit.yaml index 60008bf6..9aac1293 100644 --- a/.github/workflows/on commit.yaml +++ b/.github/workflows/on commit.yaml @@ -20,6 +20,14 @@ jobs: runs-on: windows-latest steps: + - name: config + run: | + + git config --global core.autocrlf false + git config --global user.name "sun pack bot" + git config --global user.email "sunserega2@gmail.com" + git config --global --add url.https://github.com/.insteadOf "git@github.com:" + - uses: actions/checkout@v3 - name: Install OpenCL driver for Intel CPU @@ -48,11 +56,6 @@ jobs: Write-Host "Compile: " -NoNewline Start-Process -FilePath 'D:\PABCNETC\pabcnetcclear.exe' -ArgumentList '"PackAll.pas"' -Wait -NoNewWindow - git config --global core.autocrlf false - git config --global user.name "sun pack bot" - git config --global user.email "sunserega2@gmail.com" - git config --global --add url.https://github.com/.insteadOf "git@github.com:" - $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) { @@ -85,6 +88,14 @@ jobs: runs-on: ubuntu-latest steps: + - name: config + run: | + + git config --global core.autocrlf false + git config --global user.name "sun pack bot" + git config --global user.email "sunserega2@gmail.com" + git config --global --add url.https://github.com/.insteadOf "git@github.com:" + - uses: actions/checkout@v3 - name: apt-gen update @@ -127,11 +138,6 @@ jobs: mono "../PABCNETC/pabcnetcclear.exe" "PackAll.pas" - git config --global core.autocrlf false - git config --global user.name "sun pack bot" - git config --global user.email "sunserega2@gmail.com" - git config --global --add url.https://github.com/.insteadOf "git@github.com:" - # TODO need mono anon pipes workaround # mono "PackAll.exe" "Stages= FirstPack + Reference + Dummy + OpenCL+OpenCLABC + OpenGL+OpenGLABC + Compile + Test + Release" "PasCompPath=../PABCNETC/pabcnetcclear.exe" SkipFinishedPause