Skip to content

Commit 1b7fbaf

Browse files
authored
Merge pull request #3881 from microDev1/update-ci
Re-Arrange CI Actions
2 parents 5c4cb43 + f7cafbf commit 1b7fbaf

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

.github/workflows/build.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,32 @@ jobs:
4343
run: |
4444
gcc --version
4545
python3 --version
46+
- name: Translations
47+
run: make check-translate
48+
- name: New boards check
49+
run: python3 -u ci_new_boards_check.py
50+
working-directory: tools
51+
- name: Duplicate USB VID/PID Check
52+
run: python3 -u -m tools.ci_check_duplicate_usb_vid_pid
53+
- name: Build and Validate Stubs
54+
run: make check-stubs -j2
55+
- uses: actions/upload-artifact@v2
56+
with:
57+
name: stubs
58+
path: circuitpython-stubs*
59+
- name: Test Documentation Build (HTML)
60+
run: sphinx-build -E -W -b html -D version=${{ env.CP_VERSION }} -D release=${{ env.CP_VERSION }} . _build/html
61+
- uses: actions/upload-artifact@v2
62+
with:
63+
name: docs
64+
path: _build/html
65+
- name: Test Documentation Build (LaTeX/PDF)
66+
run: |
67+
make latexpdf
68+
- uses: actions/upload-artifact@v2
69+
with:
70+
name: docs
71+
path: _build/latex
4672
- name: Build mpy-cross
4773
run: make -C mpy-cross -j2
4874
- name: Build unix port
@@ -68,32 +94,6 @@ jobs:
6894
- name: mpy Tests
6995
run: MICROPY_CPYTHON3=python3.8 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --via-mpy -d basics float
7096
working-directory: tests
71-
- name: Build and Validate Stubs
72-
run: make check-stubs -j2
73-
- uses: actions/upload-artifact@v2
74-
with:
75-
name: stubs
76-
path: circuitpython-stubs*
77-
- name: Test Documentation Build (HTML)
78-
run: sphinx-build -E -W -b html -D version=${{ env.CP_VERSION }} -D release=${{ env.CP_VERSION }} . _build/html
79-
- uses: actions/upload-artifact@v2
80-
with:
81-
name: docs
82-
path: _build/html
83-
- name: Test Documentation Build (LaTeX/PDF)
84-
run: |
85-
make latexpdf
86-
- uses: actions/upload-artifact@v2
87-
with:
88-
name: docs
89-
path: _build/latex
90-
- name: Translations
91-
run: make check-translate
92-
- name: New boards check
93-
run: python3 -u ci_new_boards_check.py
94-
working-directory: tools
95-
- name: Duplicate USB VID/PID Check
96-
run: python3 -u -m tools.ci_check_duplicate_usb_vid_pid
9797
- name: Build mpy-cross.static-raspbian
9898
run: make -C mpy-cross -j2 -f Makefile.static-raspbian
9999
- uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)