1 Star 0 Fork 1

sammyne/hmac-drbg-rs-sgx

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.drone.yml 4.59 KB
一键复制 编辑 原始数据 按行查看 历史
Yu Ding 提交于 2020-11-04 17:43 . Port to sgx 1.1.3
kind: pipeline
name: hmac-drbg-sgx-xargo-1604-sw
steps:
- name: sim-compile
image: baiduxlab/sgx-rust:1604-1.1.3
commands:
- . /opt/sgxsdk/environment
- . /root/.cargo/env
- cd sgx && SGX_MODE=SW XARGO_SGX=1 make -C hmac-drbg-sgx-test
- name: sim-test
image: baiduxlab/sgx-rust:1604-1.1.3
commands:
- . /opt/sgxsdk/environment
- cd sgx/hmac-drbg-sgx-test/bin && ./app | tee result.txt && grep " 0 failed" result.txt
node:
instance: sgx
---
kind: pipeline
name: hmac-drbg-sgx-xargo-1604-hw
steps:
- name: hw-compile
image: baiduxlab/sgx-rust:1604-1.1.3
commands:
- . /opt/sgxsdk/environment
- . /root/.cargo/env
- cd sgx && XARGO_SGX=1 make -C hmac-drbg-sgx-test
- name: hw-test
image: baiduxlab/sgx-rust:1604-1.1.3
privileged: true
volumes:
- name: isgx
path: /dev/isgx
- name: aesmd
path: /var/run/aesmd/aesm.socket
commands:
- . /opt/sgxsdk/environment
- ls -l /dev/isgx
- ls -l /var/run/aesmd/aesm.socket
- cd sgx/hmac-drbg-sgx-test/bin && ./app | tee result.txt && grep " 0 failed" result.txt
volumes:
- name: isgx
host:
path: /dev/isgx
- name: aesmd
host:
path: /var/run/aesmd/aesm.socket
node:
instance: sgx
---
kind: pipeline
name: hmac-drbg-sgx-xargo-1804-sw
steps:
- name: sim-compile
image: baiduxlab/sgx-rust:1804-1.1.3
commands:
- . /opt/sgxsdk/environment
- . /root/.cargo/env
- cd sgx && SGX_MODE=SW XARGO_SGX=1 make -C hmac-drbg-sgx-test
- name: sim-test
image: baiduxlab/sgx-rust:1804-1.1.3
commands:
- . /opt/sgxsdk/environment
- cd sgx/hmac-drbg-sgx-test/bin && ./app | tee result.txt && grep " 0 failed" result.txt
node:
instance: sgx
---
kind: pipeline
name: hmac-drbg-sgx-xargo-1804-hw
steps:
- name: hw-compile
image: baiduxlab/sgx-rust:1804-1.1.3
commands:
- . /opt/sgxsdk/environment
- . /root/.cargo/env
- cd sgx && XARGO_SGX=1 make -C hmac-drbg-sgx-test
- name: hw-test
image: baiduxlab/sgx-rust:1804-1.1.3
privileged: true
volumes:
- name: isgx
path: /dev/isgx
- name: aesmd
path: /var/run/aesmd/aesm.socket
commands:
- . /opt/sgxsdk/environment
- ls -l /dev/isgx
- ls -l /var/run/aesmd/aesm.socket
- cd sgx/hmac-drbg-sgx-test/bin && ./app | tee result.txt && grep " 0 failed" result.txt
volumes:
- name: isgx
host:
path: /dev/isgx
- name: aesmd
host:
path: /var/run/aesmd/aesm.socket
node:
instance: sgx
---
kind: pipeline
name: hmac-drbg-sgx-1604-sw
steps:
- name: sim-compile
image: baiduxlab/sgx-rust:1604-1.1.3
commands:
- . /opt/sgxsdk/environment
- . /root/.cargo/env
- SGX_MODE=SW make -C sgx/hmac-drbg-sgx-test
- name: sim-test
image: baiduxlab/sgx-rust:1604-1.1.3
commands:
- . /opt/sgxsdk/environment
- cd sgx/hmac-drbg-sgx-test/bin && ./app | tee result.txt && grep " 0 failed" result.txt
node:
instance: sgx
---
kind: pipeline
name: hmac-drbg-sgx-1604-hw
steps:
- name: hw-compile
image: baiduxlab/sgx-rust:1604-1.1.3
commands:
- . /opt/sgxsdk/environment
- . /root/.cargo/env
- make -C sgx/hmac-drbg-sgx-test
- name: hw-test
image: baiduxlab/sgx-rust:1604-1.1.3
privileged: true
volumes:
- name: isgx
path: /dev/isgx
- name: aesmd
path: /var/run/aesmd/aesm.socket
commands:
- . /opt/sgxsdk/environment
- ls -l /dev/isgx
- ls -l /var/run/aesmd/aesm.socket
- cd sgx/hmac-drbg-sgx-test/bin && ./app | tee result.txt && grep " 0 failed" result.txt
volumes:
- name: isgx
host:
path: /dev/isgx
- name: aesmd
host:
path: /var/run/aesmd/aesm.socket
node:
instance: sgx
---
kind: pipeline
name: hmac-drbg-sgx-1804-sw
steps:
- name: sim-compile
image: baiduxlab/sgx-rust:1804-1.1.3
commands:
- . /opt/sgxsdk/environment
- . /root/.cargo/env
- SGX_MODE=SW make -C sgx/hmac-drbg-sgx-test
- name: sim-test
image: baiduxlab/sgx-rust:1804-1.1.3
commands:
- . /opt/sgxsdk/environment
- cd sgx/hmac-drbg-sgx-test/bin && ./app | tee result.txt && grep " 0 failed" result.txt
node:
instance: sgx
---
kind: pipeline
name: hmac-drbg-sgx-1804-hw
steps:
- name: hw-compile
image: baiduxlab/sgx-rust:1804-1.1.3
commands:
- . /opt/sgxsdk/environment
- . /root/.cargo/env
- make -C sgx/hmac-drbg-sgx-test
- name: hw-test
image: baiduxlab/sgx-rust:1804-1.1.3
privileged: true
volumes:
- name: isgx
path: /dev/isgx
- name: aesmd
path: /var/run/aesmd/aesm.socket
commands:
- . /opt/sgxsdk/environment
- ls -l /dev/isgx
- ls -l /var/run/aesmd/aesm.socket
- cd sgx/hmac-drbg-sgx-test/bin && ./app | tee result.txt && grep " 0 failed" result.txt
volumes:
- name: isgx
host:
path: /dev/isgx
- name: aesmd
host:
path: /var/run/aesmd/aesm.socket
node:
instance: sgx
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sammyne/hmac-drbg-rs-sgx.git
[email protected]:sammyne/hmac-drbg-rs-sgx.git
sammyne
hmac-drbg-rs-sgx
hmac-drbg-rs-sgx
master

搜索帮助