8000 New CI by egeakman · Pull Request #64 · python/python-docs-tr · GitHub
[go: up one dir, main page]

Skip to content

New CI #64

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 30 commits into from
Dec 5, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update CI
  • Loading branch information
egeakman committed Dec 5, 2022
commit 1fdaa58d9b523baf502810671b38db52ce321fe5
44 changes: 23 additions & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,24 +69,26 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Clone cpython
run: |
if [ ! -d ~/cpython ]; then
git clone https://github.com/python/cpython ~/cpython/
else
git -C ~/cpython fetch
fi
git -C ~/cpython checkout $(grep ^CPYTHON_CURRENT_COMMIT Makefile| cut -d= -f2)
- name: Prepare build hierarchy
run: |
mkdir -p ~/locales/tr/LC_MESSAGES/
cp -uv --parents *.po */*.po ~/locales/tr/LC_MESSAGES/
# git -C ~/cpython checkout $(grep ^CPYTHON_CURRENT_COMMIT Makefile| cut -d= -f2)
- name: Prepare venv
run: |
make -C $HOME/cpython/Doc clean-venv
make -C $HOME/cpython/Doc venv
- name: sphinx-build
run: |
git -C ~/cpython branch
make -C $HOME/cpython/Doc SPHINXOPTS="-q -j4 -D locale_dirs=$HOME/locales -D language=tr -D gettext_compact=0" autobuild-dev-html
- name: Make
run: make
# - name: Clone cpython
# run: |
# if [ ! -d ~/cpython ]; then
# git clone https://github.com/python/cpython ~/cpython/
# else
# git -C ~/cpython fetch
# fi
# git -C ~/cpython checkout $(grep ^CPYTHON_CURRENT_COMMIT Makefile| cut -d= -f2)
# - name: Prepare build hierarchy
# run: |
# mkdir -p ~/locales/tr/LC_MESSAGES/
# cp -uv --parents *.po */*.po ~/locales/tr/LC_MESSAGES/
# # git -C ~/cpython checkout $(grep ^CPYTHON_CURRENT_COMMIT Makefile| cut -d= -f2)
# - name: Prepare venv
# run: |
# make -C $HOME/cpython/Doc clean-venv
# make -C $HOME/cpython/Doc venv
# - name: sphinx-build
# run: |
# git -C ~/cpython branch
# make -C $HOME/cpython/Doc SPHINXOPTS="-q -j4 -D locale_dirs=$HOME/locales -D language=tr -D gettext_compact=0" autobuild-dev-html
0