File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 - .github/workflows/docs-check.yml
1111
1212env :
13- # Disable full debug symbol generation to speed up CI build and keep memory down
14- # "1" means line tables only, which is useful for panic tracebacks.
15- RUSTFLAGS : " -C debuginfo=1"
13+ RUSTFLAGS : " -C debuginfo=0"
1614 # according to: https://matklad.github.io/2021/09/04/fast-rust-builds.html
1715 # CI builds are faster with incremental disabled.
1816 CARGO_INCREMENTAL : " 0"
@@ -35,10 +33,16 @@ jobs:
3533 sudo apt install -y -qq doxygen pandoc
3634 - name : Build python wheel
3735 uses : ./.github/workflows/build_linux_wheel
36+ - name : Free disk space
37+ working-directory : python
38+ run : |
39+ sudo chown 1001:118 -R target
40+ mv target/wheels/*.whl ./
41+ cargo clean
3842 - name : Build Python
3943 working-directory : docs
4044 run : |
41- python -m pip install $(ls ../python/target/wheels/ *.whl)
45+ python -m pip install ../python/*.whl
4246 python -m pip install -r requirements.txt
4347 - name : Run test
4448 working-directory : docs
Original file line number Diff line number Diff line change @@ -19,9 +19,7 @@ concurrency:
1919 cancel-in-progress : true
2020
2121env :
22- # Disable full debug symbol generation to speed up CI build and keep memory down
23- # "1" means line tables only, which is useful for panic tracebacks.
24- RUSTFLAGS : " -C debuginfo=1"
22+ RUSTFLAGS : " -C debuginfo=0"
2523 # according to: https://matklad.github.io/2021/09/04/fast-rust-builds.html
2624 # CI builds are faster with incremental disabled.
2725 CARGO_INCREMENTAL : " 0"
@@ -47,10 +45,16 @@ jobs:
4745 sudo apt install -y -qq doxygen pandoc
4846 - name : Build python wheel
4947 uses : ./.github/workflows/build_linux_wheel
48+ - name : Free disk space
49+ working-directory : python
50+ run : |
51+ sudo chown 1001:118 -R target
52+ mv target/wheels/*.whl ./
53+ cargo clean
5054 - name : Build Python
5155 working-directory : python
5256 run : |
53- python -m pip install $(ls target/wheels /*.whl)
57+ python -m pip install ../python /*.whl
5458 python -m pip install -r ../docs/requirements.txt
5559 - name : Build docs
5660 working-directory : docs
You can’t perform that action at this time.
0 commit comments