Skip to content

Commit ae8ba24

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

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines 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

Lines 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

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy