forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (37 loc) · 1.05 KB
/
mobile-asan.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
name: mobile_asan
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
asan:
if: ${{ needs.env.outputs.mobile_asan == 'true' }}
needs: env
name: asan
runs-on: ubuntu-20.04
timeout-minutes: 180
container:
image: ${{ needs.env.outputs.build_image_ubuntu_mobile }}
env:
CC: /opt/llvm/bin/clang
CXX: /opt/llvm/bin/clang++
steps:
- uses: actions/checkout@v3
- 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 --test_output=all \
--test_env=ENVOY_IP_TEST_VERSIONS=v4only \
$([ -z $GITHUB_TOKEN ] || echo "--config=remote-ci-linux-asan") \
//test/common/...