forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (43 loc) · 1.16 KB
/
mobile-cc_tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: mobile_cc_tests
permissions:
contents: read
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
permissions:
contents: read
cctests:
if: ${{ needs.env.outputs.mobile_cc_tests == 'true' }}
needs: env
permissions:
contents: read
packages: read
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@v4
- 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 \
--copt=-DUSE_API_LISTENER \
--config=mobile-remote-ci \
//test/cc/...