Skip to content

make SM2/3/4 test for OpenSSL 3 (or higher) only #14

make SM2/3/4 test for OpenSSL 3 (or higher) only

make SM2/3/4 test for OpenSSL 3 (or higher) only #14

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: download SDK
run: wget https://download.01.org/intel-sgx/sgx-linux/2.22/distro/ubuntu22.04-server/sgx_linux_x64_sdk_2.22.100.3.bin
- name: install SDK
run: chmod +x *.bin; echo yes | ./sgx_linux_x64_sdk_2.*.bin
- name: download OpenSSL code
run: wget https://www.openssl.org/source/openssl-3.0.12.tar.gz; mv openssl-3.*.gz openssl_source/
- name: build SGXSSL
run: source sgxsdk/environment; cd Linux; make all
- name: run unit test
run: source sgxsdk/environment; cd Linux; make -C sgx/test_app/ clean; SGX_MODE=SIM make test