From 3e4f99b4a7ba8e2f1b1819131f89eca1b8a02875 Mon Sep 17 00:00:00 2001 From: Yu Chen Date: Sun, 20 Mar 2022 21:13:19 +0800 Subject: [PATCH] update CI for build-doc --- .github/workflows/build-doc.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-doc.yml b/.github/workflows/build-doc.yml index 2bba7a56..687f72af 100644 --- a/.github/workflows/build-doc.yml +++ b/.github/workflows/build-doc.yml @@ -12,6 +12,10 @@ jobs: - uses: actions/checkout@v2 - name: Build doc run: | + rustup target add riscv64gc-unknown-none-elf + cargo install cargo-binutils --vers =0.3.3 + rustup component add llvm-tools-preview + rustup component add rust-src cd os cargo doc --no-deps --verbose - name: Deploy to Github Pages @@ -19,4 +23,4 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./os/target/riscv64gc-unknown-none-elf/doc - destination_dir: ${{ github.ref_name }} + destination_dir: ${{ github.ref_name }} \ No newline at end of file