Skip to content

Commit

Permalink
ci: clippy & build testos
Browse files Browse the repository at this point in the history
  • Loading branch information
zjp-CN committed Jan 19, 2025
1 parent 72a55ce commit d9ac12d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,18 @@ jobs:
- name: Check code format
run: cargo fmt --all -- --check
- name: Clippy
run: cargo hack clippy --target ${{ matrix.targets }} --each-feature
run: cargo hack clippy --target ${{ matrix.targets }} --each-feature -- -D warnings
- name: Build
run: cargo hack build --target ${{ matrix.targets }} --each-feature

- name: Clippy on testos
working-directory: example/testos
run: cargo clippy --target ${{ matrix.targets }} -- -D warnings

- name: Build testos
working-directory: example/testos
run: cargo build --target ${{ matrix.targets }}

# FIXME: cp: cannot create regular file '../../../tftpboot/': Not a directory
- name: Run Example
- name: Run testos
run: cd example && make all

0 comments on commit d9ac12d

Please sign in to comment.