-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dea57ba
commit dff5296
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
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 | ||
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | ||
- name: Load Rust | ||
run: source "$HOME/.cargo/env" | ||
- name: Setup Rust Dependencies | ||
run: bash -c "rustup target add wasm32-unknown-unknown && cargo install wasm-tools" | ||
- uses: actions/checkout@v3 | ||
- name: Build | ||
run: bash -c "cargo build" |