-
Notifications
You must be signed in to change notification settings - Fork 6
48 lines (41 loc) · 1.15 KB
/
unit-test.yml
File metadata and controls
48 lines (41 loc) · 1.15 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
37
38
39
40
41
42
43
44
45
46
47
48
name: Unit Test
on:
pull_request:
branches:
- aws
push:
branches:
- aws
jobs:
unit-test:
runs-on: [self-hosted, qcom-u2404, arm64]
steps:
- name: Create artifacts
run: |
set -eux
mkdir build
echo 8675309 > build/test-artifact.txt
- name: Upload artifacts
id: upload
uses: qualcomm-linux/upload-private-artifact-action@aws
with:
path: ./build
s3_bucket: qcom-prd-gh-artifacts
destination: unit-test/${{ github.run_id }}-${{ github.run_attempt }}/
unit-test-container:
runs-on: [self-hosted, qcom-u2404, arm64]
container:
image: public.ecr.aws/debian/debian:trixie
options: --volume /home/runner/.aws:/root/.aws
steps:
- name: Create artifacts
run: |
set -eux
mkdir build
echo 8675309 > build/test-artifact.txt
- name: Upload artifacts
uses: qualcomm-linux/upload-private-artifact-action@aws
with:
s3_bucket: qcom-prd-gh-artifacts
destination: unit-test/${{ github.run_id }}-${{ github.run_attempt }}/
path: ./build