Skip to content

Master mergeback

Master mergeback #4731

Workflow file for this run

name: SGX Unit Tests
on:
workflow_dispatch:
inputs:
profile:
description: 'Profile (unused right now)'
required: true
default: 'debug'
push:
branches:
- master
- deposits
- release/*
- '**/all-tests'
- '**/master'
pull_request:
branches:
- master
- deposits
- release/*
- '**/master'
env:
rust_stable: 1.81.0
jobs:
build:
name: SGX Unit Tests
env:
# `-D warnings` means any warnings emitted will cause build to fail
RUSTFLAGS: "-D warnings -C opt-level=z -C target-cpu=x86-64 -C debuginfo=1"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install Rust ${{ env.rust_stable }}
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.rust_stable }}
- name: Unit tests for SGX
working-directory: exe-unit
run: |
echo "TODO: fix sgx tests"
# cargo test --features sgx