mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-27 15:44:12 +08:00
back
This commit is contained in:
parent
6601c0d3a9
commit
94cefd0485
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -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 }}
|
||||
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -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 }}
|
||||
|
1
build.py
1
build.py
@ -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")
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user