Skip to content

Commit 2cde62c

Browse files
committed
Some recent regression in GitHub actions (NOT our infra!!) is causing all of our Windows builds to fail.
It appears that the GitHub action is no longer switch dir to workspace root dir, so the script doesn't launch.
1 parent 0f8d67c commit 2cde62c

12 files changed

+13
-2
lines changed

.github/workflows/test-win-latest.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
env:
2929
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3030
GIT_PULL_TOKEN: ${{ secrets.GIT_PULL_TOKEN }}
31-
run: build-tests.bat ${{ matrix.arch }} ${{ matrix.config }}
31+
run: ${GITHUB_WORKSPACE}/build-tests.bat ${{ matrix.arch }} ${{ matrix.config }}

RunOACR.bat

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@echo off
2+
cd %~dp0
23
@setlocal ENABLEEXTENSIONS
34
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\VsDevCmd.bat"
45

build-Win32Debug.bat

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@echo off
2+
cd %~dp0
23
call tools\gen-version.cmd
34
@setlocal ENABLEEXTENSIONS
45

build-Win32Release.bat

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@echo off
2+
cd %~dp0
23
call tools\gen-version.cmd
34
@setlocal ENABLEEXTENSIONS
45

build-all.bat

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@echo off
2+
cd %~dp0
23
call tools\gen-version.cmd
34
@setlocal ENABLEEXTENSIONS
45

build-cmake-clang.cmd

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@echo off
2+
cd %~dp0
23
setlocal enableextensions
34
setlocal enabledelayedexpansion
45
set ROOT=%~dp0

build-docker.cmd

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@echo off
2+
cd %~dp0
23
if "%~1"=="" goto help
34

45
del .buildtools 2>NUL

build-tests.bat

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@echo off
2+
cd %~dp0
23
call tools\gen-version.cmd
34
@setlocal ENABLEEXTENSIONS
45

build-win10-compact.bat

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@echo off
2+
cd %~dp0
23
REM
34
REM Build 'compact' Win 10 SDK for UTC mode :
45
REM * exclude built-in SQLite

build-x64Debug.bat

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@echo off
2+
cd %~dp0
23
call tools\gen-version.cmd
34
@setlocal ENABLEEXTENSIONS
45

build-x64Release.bat

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@echo off
2+
cd %~dp0
23
call tools\gen-version.cmd
34
@setlocal ENABLEEXTENSIONS
45

@@ -14,4 +15,4 @@ if errorLevel 1 goto end
1415
Solutions\out\Release\x64\UnitTests\UnitTests.exe
1516
if errorLevel 1 goto end
1617
Solutions\out\Release\x64\FuncTests\FuncTests.exe
17-
:end
18+
:end

test-all.cmd

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@echo off
2+
cd %~dp0
23
set OUTDIR=%CD%\Solutions\out\
34
cd %OUTDIR%
45

0 commit comments

Comments
 (0)