Skip to content

Commit

Permalink
testing actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-besch committed Mar 15, 2024
1 parent debb33d commit e1bd340
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,29 @@ jobs:
test:
runs-on: self-hosted
steps:
- name: Install Rust
run: |
apt-get update
apt-get install -y musl-tools musl-dev protobuf-compiler
rustup target add x86_64-unknown-linux-musl
rustup component add clippy
- name: Checkout Repo
uses: actions/checkout@v3

- name: Build Docker Image
- name: Clippy
run: |
cargo clippy -- -W clippy::unwrap_used -A clippy::useless_format -D warnings
- name: Test Debug
run: |
cargo test
- name: Test Release
run: |
cargo test --release
- name: Build Release
run: |
docker build -t rootfsimage .
cargo build --release --target x86_64-unknown-linux-musl

0 comments on commit e1bd340

Please sign in to comment.