Skip to content

Commit

Permalink
ci: add change directory to third-party-src logic (#4950)
Browse files Browse the repository at this point in the history
  • Loading branch information
boquan-fang authored Dec 6, 2024
1 parent c426395 commit 82c87a1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions codebuild/spec/buildspec_32bit_cross_compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
version: 0.2

phases:
pre_build:
commands:
- |
if [ -d "third-party-src" ]; then
cd third-party-src;
fi
build:
on-failure: ABORT
commands:
Expand Down
6 changes: 6 additions & 0 deletions codebuild/spec/buildspec_tsan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
version: 0.2

phases:
pre_build:
commands:
- |
if [ -d "third-party-src" ]; then
cd third-party-src;
fi
build:
on-failure: ABORT
commands:
Expand Down
6 changes: 6 additions & 0 deletions codebuild/spec/buildspec_ubuntu_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
version: 0.2

phases:
pre_build:
commands:
- |
if [ -d "third-party-src" ]; then
cd third-party-src;
fi
build:
on-failure: ABORT
commands:
Expand Down

0 comments on commit 82c87a1

Please sign in to comment.