Skip to content

Commit

Permalink
CI: Enable 32-bit Rust examples runtime testing
Browse files Browse the repository at this point in the history
Now OP-TEE build system has been updated to support 32-bit Rust TAs, so
enable runtime testing for them.

Signed-off-by: Sumit Garg <[email protected]>
  • Loading branch information
b49020 committed Feb 9, 2024
1 parent bc6ae89 commit 70d1712
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,21 +129,17 @@ jobs:
mkdir -p ~/optee-qemuv8 && cd ~/optee-qemuv8 &&
repo init -u https://github.com/OP-TEE/manifest.git -m qemu_v8.xml &&
repo sync -j4 --no-clone-bundle
- name: Setting up $HOME
run: |
cp /root/.bashrc $HOME/.bashrc &&
ln -sf /root/.rustup ~/.rustup &&
ln -sf /root/.cargo ~/.cargo
- name: Build images and run tests
run: |
apt update && apt install libslirp-dev -y
cd ~/optee-qemuv8
rm -rf optee_rust/ &&
mv $GITHUB_WORKSPACE/incubator-teaclave-trustzone-sdk optee_rust/
export OPTEE_DIR=$(pwd)
cd build &&
make -j2 toolchains &&
make CFG_TEE_CORE_LOG_LEVEL=0 OPTEE_RUST_ENABLE=y check-rust
make -j3 toolchains &&
make RUST_ENABLE=y check &&
make buildroot-clean &&
make RUST_ENABLE=y COMPILE_S_USER=32 check
license:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 70d1712

Please sign in to comment.