Skip to content

add notify_shutdown to cp services #523

add notify_shutdown to cp services

add notify_shutdown to cp services #523

on:
push:
paths:
- control-plane/**
- shared/**
- .github/workflows/test-control-plane.yml
- Cargo.lock
name: Test Control Plane
jobs:
test_control_plane:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install MUSL Tools
run: |
sudo apt-get update
sudo apt-get install -y musl-tools
- uses: dtolnay/[email protected]
with:
targets: x86_64-unknown-linux-musl
- uses: Swatinem/rust-cache@v2
with:
shared-key: "standard-cache"
- name: Compile project feature -enclave
run: cargo build --features enclave,network_egress -p control-plane
- name: Compile project feature -not_enclave
run: cargo build --features not_enclave,network_egress -p control-plane
- name: Test project
run: cargo test --features enclave,network_egress -p control-plane