Skip to content

ci/deps: Remove workaround/hack (#28564) #44

ci/deps: Remove workaround/hack (#28564)

ci/deps: Remove workaround/hack (#28564) #44

name: mobile_cc_tests
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.head_ref || github.run_id }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
env:
if: ${{ github.repository == 'envoyproxy/envoy' }}
uses: ./.github/workflows/_env.yml
secrets: inherit
cctests:
if: ${{ needs.env.outputs.mobile_cc_tests == 'true' }}
needs: env
name: cc_tests
runs-on: ${{ needs.env.outputs.agent_ubuntu }}
timeout-minutes: 120
container:
image: ${{ needs.env.outputs.build_image_ubuntu }}
steps:
- uses: actions/checkout@v3
- name: Add safe directory
run: git config --global --add safe.directory /__w/envoy/envoy
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: 'Run tests'
# Regression test using the new API listener. TODO(#2711) clean up.
run: |
cd mobile && ./bazelw test \
--action_env=LD_LIBRARY_PATH \
--test_output=all \
--copt=-DUSE_API_LISTENER \
$([ -z $GITHUB_TOKEN ] || echo "--config=remote-ci-linux") \
//test/cc/...