forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 1.12 KB
/
mobile-core.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
name: mobile_core
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true
jobs:
unittests:
if: github.repository == 'envoyproxy/envoy'
name: unit_tests
runs-on: ubuntu-20.04
timeout-minutes: 120
container:
image: envoyproxy/envoy-build-ubuntu:321658b6b50abda6869f89fac275f59bf3b1e757
steps:
- uses: actions/checkout@v3
- name: Ensure no listener leaks
run: rm source/extensions/listener_managers/listener_manager/listener_manager_impl.h
- name: Add safe directory
run: git config --global --add safe.directory /__w/envoy/envoy
- name: 'Run tests'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd mobile && ./bazelw test \
--build_tests_only \
--action_env=LD_LIBRARY_PATH \
--test_env=ENVOY_IP_TEST_VERSIONS=v4only \
--test_output=all \
--define envoy_mobile_listener=disabled \
$([ -z $GITHUB_TOKEN ] || echo "--config=remote-ci-linux") \
//test/common/...