Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ci: use ubuntu 22.04 instead and handle params #987

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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