-
Notifications
You must be signed in to change notification settings - Fork 198
36 lines (35 loc) · 1 KB
/
ci.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
name: CI
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
QEMUv8_check:
name: make check (QEMUv8)
runs-on: ubuntu-latest
container: jforissier/optee_os_ci:qemuv8_check2
steps:
- name: Remove /__t/*
run: rm -rf /__t/*
- name: Restore build cache
uses: actions/cache@v3
with:
path: /github/home/.cache/ccache
key: qemuv8_check-cache-${{ github.sha }}
restore-keys: |
qemuv8_check-cache-
- name: Checkout
uses: actions/checkout@v3
- shell: bash
run: |
# make check task
set -e -v
export LC_ALL=C
export BR2_CCACHE_DIR=/github/home/.cache/ccache
WD=$(pwd)
cd ..
TOP=$(pwd)/optee_repo_qemu_v8
/root/get_optee_qemuv8.sh ${TOP}
mv ${TOP}/optee_test ${TOP}/optee_test_old
ln -s ${WD} ${TOP}/optee_test
cd ${TOP}/build
make -j$(nproc) check