Skip to content

[WIP] ci: rust: investigate "no space left on device" error #303

[WIP] ci: rust: investigate "no space left on device" error

[WIP] ci: rust: investigate "no space left on device" error #303

Workflow file for this run

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: 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
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