[WIP] Investigate CI failure on Xen job (no space left on device) #293
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
QEMUv8_Xen_check: | |
name: make check (QEMUv8, Xen) | |
runs-on: ubuntu-latest | |
container: jforissier/optee_os_ci:qemuv8_check2 | |
steps: | |
- name: Delete huge unnecessary tools folder | |
run: rm -rf /opt/hostedtoolcache | |
- name: Restore build cache | |
uses: actions/cache@v3 | |
with: | |
path: /github/home/.cache/ccache | |
key: qemuv8_xen_check-cache-${{ github.sha }} | |
restore-keys: | | |
qemuv8_xen_check-cache- | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- shell: bash | |
run: | | |
# make check task | |
set -e -v | |
export LC_ALL=C | |
export CFG_TEE_CORE_LOG_LEVEL=0 | |
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 | |
make -j$(nproc) check XEN_BOOT=y |