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

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

commit f64d0471508840a922fc7e69bed41d486330bdf0
Author: Mingshen Sun <[email protected]>
AuthorDate: Mon Feb 1 15:09:30 2021 -0800

    Install Rust using rustup
---
 .github/workflows/ci.yml | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 235755f..b45ca07 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -10,17 +10,15 @@ jobs:
     steps:
       - uses: actions/checkout@v2
       - name: Install dependencies
-        run: brew install cmake openssl
-      - name: Install latest nightly
-        uses: actions-rs/toolchain@v1
-        with:
-          toolchain: nightly-2020-04-07
-          target: aarch64-apple-ios
-          override: true
-          components: rustfmt, clippy
+        run: |
+          brew install cmake openssl
+          curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- 
-y
+          export PATH=~/.cargo/bin:$PATH
+          rustup default nightly-2020-04-07 && rustup target add 
aarch64-apple-ios
       - name: Building Teaclave Client SDK
         run: |
           export 
PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libssh2/lib/pkgconfig/"
+          export PATH=~/.cargo/bin:$PATH
           cargo build --manifest-path sdk/rust/Cargo.toml
           cargo build --manifest-path sdk/rust/Cargo.toml --target 
aarch64-apple-ios
   sim-debug-ubuntu-1804:


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

Reply via email to