Skip to content

CI Setup

CI Setup #11

Workflow file for this run

name: Edgeless Commit Checks
on:
push:
jobs:
build:
runs-on:
- self-hosted
container:
image: fedora:latest
steps:
- name: Setup Deps
run: dnf -y install curl lldb openssl openssl-devel protobuf protobuf-compiler protobuf-devel clang
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
default: true
target: wasm32-unknown-unknown
components: rustfmt
- name: Install WASM-Tools
uses: actions-rs/cargo@v1
with:
command: install
args: wasm-tools
- uses: actions/checkout@v3
- name: Lint
uses: actions-rs/cargo@v1
with:
command: fmt
args: --check
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --no-deps
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --release