Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/docs-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ on:
- .github/workflows/docs-check.yml

env:
# Disable full debug symbol generation to speed up CI build and keep memory down
# "1" means line tables only, which is useful for panic tracebacks.
RUSTFLAGS: "-C debuginfo=1"
RUSTFLAGS: "-C debuginfo=0"
# according to: https://matklad.github.io/2021/09/04/fast-rust-builds.html
# CI builds are faster with incremental disabled.
CARGO_INCREMENTAL: "0"
Expand All @@ -35,10 +33,16 @@ jobs:
sudo apt install -y -qq doxygen pandoc
- name: Build python wheel
uses: ./.github/workflows/build_linux_wheel
- name: Free disk space
working-directory: python
run: |
sudo chown 1001:118 -R target
mv target/wheels/*.whl ./
cargo clean
- name: Build Python
working-directory: docs
run: |
python -m pip install $(ls ../python/target/wheels/*.whl)
python -m pip install ../python/*.whl
python -m pip install -r requirements.txt
- name: Run test
working-directory: docs
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ concurrency:
cancel-in-progress: true

env:
# Disable full debug symbol generation to speed up CI build and keep memory down
# "1" means line tables only, which is useful for panic tracebacks.
RUSTFLAGS: "-C debuginfo=1"
RUSTFLAGS: "-C debuginfo=0"
# according to: https://matklad.github.io/2021/09/04/fast-rust-builds.html
# CI builds are faster with incremental disabled.
CARGO_INCREMENTAL: "0"
Expand All @@ -47,10 +45,16 @@ jobs:
sudo apt install -y -qq doxygen pandoc
- name: Build python wheel
uses: ./.github/workflows/build_linux_wheel
- name: Free disk space
working-directory: python
run: |
sudo chown 1001:118 -R target
mv target/wheels/*.whl ./
cargo clean
- name: Build Python
working-directory: python
run: |
python -m pip install $(ls target/wheels/*.whl)
python -m pip install ../python/*.whl
python -m pip install -r ../docs/requirements.txt
- name: Build docs
working-directory: docs
Expand Down