Enable other jobs
This commit is contained in:
parent
1b3a544fe3
commit
c2f1d76f8f
1 changed files with 26 additions and 22 deletions
|
@ -4,18 +4,18 @@ on: [push]
|
|||
name: CI
|
||||
|
||||
jobs:
|
||||
# formatting:
|
||||
# name: Formatting
|
||||
# runs-on: ubuntu-22.04
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v4
|
||||
# - name: Set up Rust
|
||||
# uses: https://github.com/dtolnay/rust-toolchain@nightly
|
||||
# with:
|
||||
# components: rustfmt
|
||||
# - name: Check Rust formatting
|
||||
# run: cargo fmt --all -- --check
|
||||
formatting:
|
||||
name: Formatting
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Rust
|
||||
uses: https://github.com/dtolnay/rust-toolchain@nightly
|
||||
with:
|
||||
components: rustfmt
|
||||
- name: Check Rust formatting
|
||||
run: cargo fmt --all -- --check
|
||||
|
||||
clippy:
|
||||
name: Clippy
|
||||
|
@ -34,13 +34,17 @@ jobs:
|
|||
- name: Run Clippy
|
||||
run: cargo clippy -- -D warnings
|
||||
|
||||
# build:
|
||||
# name: Build
|
||||
# runs-on: ubuntu-22.04
|
||||
# steps:
|
||||
# - name: Checkout the code
|
||||
# uses: actions/checkout@v4
|
||||
# - name: Set up Rust
|
||||
# uses: https://github.com/dtolnay/rust-toolchain@nightly
|
||||
# - name: Build project
|
||||
# run: cargo build
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout the code
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Rust
|
||||
uses: https://github.com/dtolnay/rust-toolchain@nightly
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install libasound2-dev libudev-dev libwayland-dev
|
||||
- name: Build project
|
||||
run: cargo build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue