Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix android full build in CI #22486

Merged
merged 5 commits into from
Sep 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 36 additions & 5 deletions .github/workflows/full-android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,23 @@ jobs:

steps:
- uses: Wandalen/[email protected]
if: ${{ !env.ACT }}
name: Checkout
with:
action: actions/checkout@v3
with: |
submodules: true
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
# To use act like:
# act -j full_android
#
# Note you likely still need to have non submodules setup for the
# local machine, like:
# git submodule deinit --all
- uses: actions/checkout@v3
if: ${{ env.ACT }}
name: Checkout (ACT for local build)
- name: Checkout submodules
run: scripts/checkout_submodules.py --shallow --platform android
- name: Bootstrap
Expand All @@ -61,16 +70,38 @@ jobs:
path: |
.environment/gn_out/.ninja_log
.environment/pigweed-venv/*.log
- name: Build Android CHIPTool and CHIPTest (ARM)
- name: Build Android arm-chip-tool
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --no-log-timestamps --target-glob 'android-arm-*' build"
"./scripts/build/build_examples.py --no-log-timestamps --target android-arm-chip-tool build"
- name: Clean out build output
run: rm -rf ./out
- name: Build Android CHIPTool and CHIPTest (ARM64)
- name: Build Android arm-tv-casting-app
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --no-log-timestamps --target-glob 'android-arm64-*' build"
"./scripts/build/build_examples.py --no-log-timestamps --target android-arm-tv-casting-app build"
- name: Clean out build output
run: rm -rf ./out
- name: Build Android arm-tv-server
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --no-log-timestamps --target android-arm-tv-server build"
- name: Clean out build output
run: rm -rf ./out
- name: Build Android arm64-tv-casting-app
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --no-log-timestamps --target android-arm64-tv-casting-app build"
- name: Clean out build output
run: rm -rf ./out
- name: Build Android arm64-tv-server
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --no-log-timestamps --target android-arm64-tv-server build"
- name: Build Android arm64-chip-tool
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --no-log-timestamps --target android-arm64-chip-tool build"
- name: Run Android build rule tests
run: |
./scripts/run_in_build_env.sh \
Expand Down
1 change: 1 addition & 0 deletions src/messaging/ReliableMessageMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*
*/

#include <errno.h>
#include <inttypes.h>

#include <messaging/ReliableMessageMgr.h>
Expand Down