-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (43 loc) · 1.14 KB
/
commit_checks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Edgeless Commit Checks
on:
push:
jobs:
check:
runs-on:
- ubuntu-latest
container:
image: ghcr.io/edgeless-project/ci-image:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.github_token }}
steps:
- uses: actions/checkout@v3
- name: Linter
run: cargo fmt --check
- name: Clippy
run: cargo clippy --no-deps
- name: Tests
run: cargo test
build:
runs-on:
- ubuntu-latest
container:
image: ghcr.io/edgeless-project/ci-image:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.github_token }}
steps:
- uses: actions/checkout@v3
- name: Build x64 Release
run: cargo build --release
- name: Upload Binaries
uses: actions/upload-artifact@v3
with:
name: binaries
path: |
target/release/edgeless_inabox
target/release/edgeless_cli
target/release/edgeless_con_d
target/release/edgeless_orc_d
target/release/edgeless_bal_d
target/release/edgeless_node_d