Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ae8ba24

Browse filesBrowse files
authored
Merge pull request #987 from mattwang44/test-ci
2 parents 7949b02 + 587adf2 commit ae8ba24
Copy full SHA for ae8ba24

File tree

3 files changed

+5
-5
lines changed
Filter options

3 files changed

+5
-5
lines changed

‎.github/workflows/ci.yml

Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on:
55

66
jobs:
77
ci:
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-22.04
99
steps:
1010
- uses: actions/checkout@v4
1111

1212
- name: Install Dependencies
1313
run: sudo apt-get install gettext
1414

1515
- name: Validate
16-
run: VERSION=${{ github.event.repository.default_branch }} MODE=dummy make all
16+
run: VERSION=${{ github.event.repository.default_branch }} JOBS=4 MODE=html make all

‎.github/workflows/deploy-gh-page.yml

Copy file name to clipboardExpand all lines: .github/workflows/deploy-gh-page.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
run: sudo apt-get install gettext
1616

1717
- name: Build
18-
run: make all
18+
run: JOBS=4 MODE=html make all
1919

2020
- name: Deploy to gh page
2121
uses: JamesIves/github-pages-deploy-action@v4.6.4

‎Makefile

Copy file name to clipboardExpand all lines: Makefile
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ SPHINX_CONF := $(CPYTHON_CLONE)/Doc/conf.py
4343
LANGUAGE := zh_TW
4444
LC_MESSAGES := $(CPYTHON_CLONE)/Doc/locales/$(LANGUAGE)/LC_MESSAGES
4545
VENV := ~/.venvs/python-docs-i18n/
46-
MODE := autobuild-dev-html
47-
JOBS := 4
46+
MODE := $(or $(MODE), autobuild-dev-html)
47+
JOBS := $(or $(JOBS), auto)
4848

4949
.PHONY: all
5050
all: prepare_deps ## Automatically build an html local version

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.