This commit is contained in:
恍兮惚兮 2024-06-25 17:53:01 +08:00
parent 6601c0d3a9
commit 94cefd0485
4 changed files with 6 additions and 5 deletions

View File

@ -26,7 +26,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.8.10'
python-version: '3.7.9'
architecture: ${{ matrix.architecture }}
- name: Install Python 3.11
@ -36,7 +36,7 @@ jobs:
- name: Run build script
run: |
python build.py ${{ matrix.architecture }} 3.8.10
python build.py ${{ matrix.architecture }} 3.7.9
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.fname }}

View File

@ -23,7 +23,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.8.10'
python-version: '3.7.9'
architecture: ${{ matrix.architecture }}
- name: Install Python 3.11
uses: actions/setup-python@v5
@ -32,7 +32,7 @@ jobs:
- name: Run build script
run: |
python build.py ${{ matrix.architecture }} 3.8.10
python build.py ${{ matrix.architecture }} 3.7.9
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.fname }}

View File

@ -290,4 +290,5 @@ if __name__ == "__main__":
# 3.8之后会莫名其妙引用这个b东西然后这个b东西会把一堆没用的东西导入进来
shutil.rmtree(os.path.join(os.path.dirname(py37Path), "Lib\\test"))
shutil.rmtree(os.path.join(os.path.dirname(py37Path), "Lib\\unittest"))
# 放弃3.8需要安装KB2533623才能运行3.7用不着。
subprocess.run(f"{py37Path} retrieval.py")

View File

@ -29,7 +29,7 @@ include(generate_product_version)
set(VERSION_MAJOR 5)
set(VERSION_MINOR 3)
set(VERSION_PATCH 1)
set(VERSION_PATCH 0)
add_library(pch pch.cpp)
target_precompile_headers(pch PUBLIC pch.h)