You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by ms...@apache.org on 2021/02/02 00:06:41 UTC

[incubator-teaclave] 02/03: Enable macos CI job for client SDK

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 bfeb55da8e6a51f3d9f9b7fa49820abf6b397437
Author: Mingshen Sun <bo...@mssun.me>
AuthorDate: Mon Feb 1 14:43:43 2021 -0800

    Enable macos CI job for client SDK
---
 .github/workflows/ci.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6eab6e0..235755f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -5,6 +5,24 @@ defaults:
     shell: bash
 
 jobs:
+  teaclave-client-sdk-macos:
+    runs-on: macos-latest
+    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
+      - name: Building Teaclave Client SDK
+        run: |
+          export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libssh2/lib/pkgconfig/"
+          cargo build --manifest-path sdk/rust/Cargo.toml
+          cargo build --manifest-path sdk/rust/Cargo.toml --target aarch64-apple-ios
   sim-debug-ubuntu-1804:
     runs-on: ubuntu-18.04
     container: teaclave/teaclave-build-ubuntu-1804-sgx-2.9.1:0.1.2


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org