Skip to content

Commit

Permalink
Merge pull request python#987 from mattwang44/test-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
josix authored Oct 12, 2024
2 parents 7949b02 + 587adf2 commit ae8ba24
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:

jobs:
ci:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

- name: Install Dependencies
run: sudo apt-get install gettext

- name: Validate
run: VERSION=${{ github.event.repository.default_branch }} MODE=dummy make all
run: VERSION=${{ github.event.repository.default_branch }} JOBS=4 MODE=html make all
2 changes: 1 addition & 1 deletion .github/workflows/deploy-gh-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
run: sudo apt-get install gettext

- name: Build
run: make all
run: JOBS=4 MODE=html make all

- name: Deploy to gh page
uses: JamesIves/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ SPHINX_CONF := $(CPYTHON_CLONE)/Doc/conf.py
LANGUAGE := zh_TW
LC_MESSAGES := $(CPYTHON_CLONE)/Doc/locales/$(LANGUAGE)/LC_MESSAGES
VENV := ~/.venvs/python-docs-i18n/
MODE := autobuild-dev-html
JOBS := 4
MODE := $(or $(MODE), autobuild-dev-html)
JOBS := $(or $(JOBS), auto)

.PHONY: all
all: prepare_deps ## Automatically build an html local version
Expand Down

0 comments on commit ae8ba24

Please sign in to comment.