Skip to content

Commit

Permalink
FIX CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Huzhiwen1208 committed Sep 4, 2024
1 parent b492c95 commit cba1d5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
- name: Check code format
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --target ${{ matrix.targets }} --features "UNIT_TEST" -- -A clippy::new_without_default
run: cargo clippy --target ${{ matrix.targets }} -- -A clippy::new_without_default
- name: Build
run: cargo build --target ${{ matrix.targets }} --features "UNIT_TEST"
run: cargo build --target ${{ matrix.targets }}
- name: Build docs
continue-on-error: ${{ github.ref != env.default-branch && github.event_name != 'pull_request' }}
run: |
cargo doc --no-deps --target ${{ matrix.targets }} --features "UNIT_TEST"
cargo doc --no-deps --target ${{ matrix.targets }}
printf '<meta http-equiv="refresh" content="0;url=%s/index.html">' $(cargo tree | head -1 | cut -d' ' -f1) > target/riscv64gc-unknown-none-elf/doc/index.html
- name: Deploy to Github Pages
uses: JamesIves/github-pages-deploy-action@v4
Expand Down

0 comments on commit cba1d5e

Please sign in to comment.