Skip to content

Commit

Permalink
under GHA use a different build directory
Browse files Browse the repository at this point in the history
  • Loading branch information
noacoohen committed Nov 20, 2023
1 parent 0b2f6bb commit e8d8ed6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions unit-tests/py/rspy/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@
#
build = os.path.join( root, 'build' )
if not os.path.isdir( build ):
log.w( 'repo.build directory wasn\'t found' )
log.d( 'repo.root=', root )
build = None
# Under GHA, we use a build directory under this env variable:
build = os.environ.get( 'WIN_BUILD_DIR' )
if not build or not os.path.isdir( build ):
log.w( 'repo.build directory wasn\'t found' )
log.d( 'repo.root=', root )
build = None


def find_pyrs():
Expand Down

0 comments on commit e8d8ed6

Please sign in to comment.