Skip to content

Commit fa0ff8a

Browse files
committed
Do docs build in Nightly job
We have a separate CI job for things that require a nightly toolchain. Building the docs requires a nightly toolchain (because of `--cfg docsrc` flag). It makes more sense to run the docs build in the `Nightly` job instead of hidden in the `Tests` job. Do the docs build in the `Nightly` job instead of in the `Tests` job.
1 parent d9526e0 commit fa0ff8a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/rust.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Continuous integration
44

55
jobs:
66
Nightly:
7-
name: Nightly - ASan + Bench
7+
name: Nightly - ASan + Bench + Docs
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout Crate
@@ -26,6 +26,10 @@ jobs:
2626
env:
2727
DO_BENCH: true
2828
run: ./contrib/test.sh
29+
- name: Building docs
30+
env:
31+
DO_DOCS: true
32+
run: ./contrib/test.sh
2933

3034
Tests:
3135
name: Tests
@@ -43,7 +47,6 @@ jobs:
4347
- rust: nightly
4448
env:
4549
DO_FEATURE_MATRIX: true
46-
DO_DOCS: true
4750
- rust: 1.29.0
4851
env:
4952
DO_FEATURE_MATRIX: true

0 commit comments

Comments
 (0)