forked from OP-TEE/optee_os
-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (39 loc) · 1.27 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
37
38
39
40
name: CI
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
QEMUv8_check_rust:
name: make check-rust (QEMUv8)
runs-on: ubuntu-latest
container: jforissier/optee_os_ci:qemuv8_check2
steps:
- name: Remove /__t/* to save space
run: true rm -rf /__t/*
- name: Restore build cache
uses: actions/cache@v3
with:
path: /github/home/.cache/ccache
key: qemuv8_check_rust-cache-${{ github.sha }}
restore-keys: |
qemuv8_check_rust-cache-
- name: Checkout
uses: actions/checkout@v3
- shell: bash
run: |
# make check-rust task
set -e -v
df -h
du -s /__t/* | sort -n -r | head -n 10
#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_os ${TOP}/optee_os_old
#ln -s ${WD} ${TOP}/optee_os
#cd ${TOP}/build
# Without this line, the following one fails with "ld: cannot find -lteec" when building acipher-rs
#make -j$(nproc)
#make -j$(nproc) OPTEE_RUST_ENABLE=y check-rust