Skip to content

Commit

Permalink
Clean out android outputs more aggressively (#27297)
Browse files Browse the repository at this point in the history
Builds unfortunately are placing files in the source tree
instead of just limiting themselves to out.

Try to clean things a bit more thoroughly.

Co-authored-by: Andrei Litvin <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Nov 3, 2023
1 parent f3e2620 commit 5627441
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/full-android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,31 +90,31 @@ jobs:
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --target android-arm-chip-tool build"
- name: Clean out build output
run: rm -rf ./out
run: rm -rf ./out examples/android/CHIPTool/app/libs/jniLibs/*
- name: Build Android arm-tv-casting-app
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --target android-arm-tv-casting-app build"
- name: Clean out build output
run: rm -rf ./out
run: rm -rf ./out examples/android/CHIPTool/app/libs/jniLibs/*
- name: Build Android arm-tv-server
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --target android-arm-tv-server build"
- name: Clean out build output
run: rm -rf ./out
run: rm -rf ./out examples/android/CHIPTool/app/libs/jniLibs/*
- name: Build Android arm64-tv-casting-app
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --target android-arm64-tv-casting-app build"
- name: Clean out build output
run: rm -rf ./out
run: rm -rf ./out examples/android/CHIPTool/app/libs/jniLibs/*
- name: Build Android arm64-tv-server
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --target android-arm64-tv-server build"
- name: Clean out build output
run: rm -rf ./out
run: rm -rf ./out examples/android/CHIPTool/app/libs/jniLibs/*
- name: Build Android arm64-chip-tool
run: |
./scripts/run_in_build_env.sh \
Expand All @@ -124,7 +124,7 @@ jobs:
./scripts/run_in_build_env.sh \
"ninja -C out/android-arm64-chip-tool build/chip/java/tests:java_build_test"
- name: Clean out build output
run: rm -rf ./out
run: rm -rf ./out examples/android/CHIPTool/app/libs/jniLibs/*
# - name: Build Android Studio build (arm64 only)
# run: |
# ./scripts/run_in_build_env.sh \
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/smoketest-android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ jobs:
run: |
./scripts/run_in_build_env.sh \
"ninja -C out/android-arm64-chip-tool build/chip/java/tests:java_build_test"
- name: Clean out build output
run: rm -rf ./out examples/android/CHIPTool/app/libs/jniLibs/*
- name: Build Android arm64-tv-casting-app
run: |
./scripts/run_in_build_env.sh \
Expand Down

0 comments on commit 5627441

Please sign in to comment.