forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (56 loc) · 1.58 KB
/
envoy-macos.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
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Envoy/macos
permissions:
contents: read
on:
push:
branches:
- main
- release/v*
pull_request_target:
concurrency:
group: ${{ github.head_ref || github.run_id }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
env:
uses: ./.github/workflows/_env.yml
permissions:
contents: read
pull-requests: read
with:
prime-build-image: false
check-mobile-run: false
macos:
needs:
- env
uses: ./.github/workflows/_ci.yml
name: CI ${{ matrix.name || matrix.target }}
secrets:
rbe-key: ${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}
with:
target: ${{ matrix.target }}
runs-on: macos-12-xl
command-ci:
command-prefix:
repo-ref: ${{ needs.env.outputs.repo_ref }}
steps-post:
steps-pre: ${{ matrix.steps-pre }}
strategy:
fail-fast: false
matrix:
include:
- target: ci/mac_ci_steps.sh
name: macOS
steps-pre: |
- run: ./ci/mac_ci_setup.sh
shell: bash
name: Setup macos
source: |
GCP_SERVICE_ACCOUNT_KEY_PATH=$(mktemp -t gcp_service_account.XXXXXX.json)
bash -c "echo \"${RBE_KEY}\" | base64 --decode > \"${GCP_SERVICE_ACCOUNT_KEY_PATH}\""
_BAZEL_BUILD_EXTRA_OPTIONS=(
--remote_download_toplevel
--flaky_test_attempts=2
--config=cache-google
--config=ci
--google_credentials=${GCP_SERVICE_ACCOUNT_KEY_PATH})
export BAZEL_BUILD_EXTRA_OPTIONS=${_BAZEL_BUILD_EXTRA_OPTIONS[*]}