Skip to content

Commit

Permalink
Ensure build directory exists
Browse files Browse the repository at this point in the history
  • Loading branch information
mildas authored and comps committed Jul 18, 2024
1 parent 8f29e8f commit 01c167b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static-checks/rpmbuild-ctest/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

with util.get_content(build=False) as content_dir:
build_dir = content_dir / 'build'
build_dir.mkdir(exist_ok=True)

util.subprocess_run(['cmake', '../', *cmake_options], cwd=build_dir, check=True)
util.subprocess_run(['make', '-j4'], cwd=build_dir, check=True)
Expand Down

0 comments on commit 01c167b

Please sign in to comment.