generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 177
36 lines (36 loc) · 1.04 KB
/
analytics.yml
File metadata and controls
36 lines (36 loc) · 1.04 KB
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
name: aws-lc-analytics
on:
push:
branches: [main]
tags-ignore: ['**']
permissions:
contents: read
env:
GOPROXY: https://proxy.golang.org,direct
jobs:
analytics:
name: analytics-${{ matrix.arch }}
runs-on:
- codebuild-aws-lc-ci-github-actions-${{ github.run_id }}-${{ github.run_attempt }}
image:${{ matrix.arch == 'x86_64' && 'linux-5.0' || matrix.arch == 'aarch64' && 'arm-3.0' }}
instance-size:large
strategy:
matrix:
arch: [x86_64, aarch64]
env:
ANALYTICS_BRANCH: ${{ github.ref }}
steps:
- uses: actions/checkout@v5
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2
- uses: ./.github/actions/codebuild-docker-run
name: Run Container
with:
image: ${{ steps.login-ecr.outputs.registry }}/aws-lc/amazonlinux:2
env: |
ANALYTICS_BRANCH
withCredentials: true
run: |
source /opt/compiler-env/setup-gcc-7.sh
./tests/ci/run_analytics.sh