Skip to content

Scx1332/update payment7 #4654

Scx1332/update payment7

Scx1332/update payment7 #4654

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'
pull_request:
branches:
- master
- deposits
- release/*
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: cargo test --features sgx