This is an automated email from the ASF dual-hosted git repository.

yuanz pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-teaclave-trustzone-sdk.git


The following commit(s) were added to refs/heads/master by this push:
     new 57a1fae  Fix CI error (#90)
57a1fae is described below

commit 57a1fae5109f8092b77f0bb8cb44d38092babbec
Author: Yuan Zhuang <[email protected]>
AuthorDate: Thu Sep 15 10:52:58 2022 +0800

    Fix CI error (#90)
    
    - Fail to fetch `crates.io-index` when executing `cargo install` in 
`setup.sh`.Setting `CARGO_NET_GIT_FETCH_WITH_CLI=true` fixes this error.
    - `make check-rust` failed in building Rust examples and the error is 
`Cannot find -lteec`.  As a workaround for this error, build and check 
separately instead.
---
 .github/workflows/ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d62181b..859e6a7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -37,6 +37,7 @@ jobs:
           ln -sf /root/.cargo ~/.cargo
       - name: Building
         run: |
+          export CARGO_NET_GIT_FETCH_WITH_CLI=true &&
           ./setup.sh &&
           source environment &&
           make optee &&
@@ -63,6 +64,7 @@ jobs:
           ln -sf /root/.cargo ~/.cargo
       - name: Building
         run: |
+          export CARGO_NET_GIT_FETCH_WITH_CLI=true &&
           ./setup.sh &&
           source environment &&
           make optee &&
@@ -97,7 +99,8 @@ jobs:
           export OPTEE_DIR=$(pwd)
           cd build &&
           make -j2 toolchains &&
-          make CFG_TEE_CORE_LOG_LEVEL=0 OPTEE_RUST_ENABLE=y 
CFG_TEE_RAM_VA_SIZE=0x00300000 -j$(getconf _NPROCESSORS_ONLN) check-rust
+          make CFG_TEE_CORE_LOG_LEVEL=0 OPTEE_RUST_ENABLE=y 
CFG_TEE_RAM_VA_SIZE=0x00300000
+          make check-only-rust
   license:
     runs-on: ubuntu-20.04
     steps:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to