[WIP] ci: rust: investigate "no space left on device" error #301
Workflow file for this run
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_check_rust: | |
name: make check-rust (QEMUv8) | |
runs-on: ubuntu-latest | |
container: jforissier/optee_os_ci:qemuv8_check2 | |
steps: | |
- 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 | |
rm -rf /__t/CodeQL /__t/Python /__t/go /__t/PyPy /__t/node | |
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 |