Skip to content

Commit

Permalink
CI Setup
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelhetzel committed Sep 6, 2023
1 parent dea57ba commit 751f8a8
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/commit_checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
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

0 comments on commit 751f8a8

Please sign in to comment.