Skip to content

Commit

Permalink
fix: update rustdoc pr build
Browse files Browse the repository at this point in the history
  • Loading branch information
sevki committed Mar 15, 2024
1 parent 7aad627 commit c080574
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- main

jobs:
build:
build_kernel:
runs-on: ubuntu-latest
container:
image: debian:latest
Expand All @@ -27,7 +27,11 @@ jobs:
with:
name: x86_64
path: arch/x86_64
build_pages:
- uses: actions/upload-artifact@v4
with:
name: bzImage
path: arch/x86_64/boot/bzImage
build_docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -41,8 +45,23 @@ jobs:
. sphinx/bin/activate
pip install -r ./Documentation/sphinx/requirements.txt
make htmldocs
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './Documentation/output'
build_rust_docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Setup okLinux environment
run: |
./docdeps
make LLVM=1 olddefconfig
make LLVM=1 rustdoc
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './Documentation/output'
path: './Documentation/output'
3 changes: 0 additions & 3 deletions deps
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ rustup component add cargo clippy rustfmt
# LLVM tools are used to generate and process coverage files
rustup component add llvm-tools-preview

# Allow cross-compilation via mingw64
rustup target add x86_64-pc-windows-gnu

# Install nightly toolchain. Only used for rustfmt
rustup toolchain install stable --profile minimal --component rustfmt

Expand Down

0 comments on commit c080574

Please sign in to comment.