diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ec3181..59c727d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,7 +44,7 @@ jobs: setup-python: true - name: Run build script run: python build.py 64 - - name: Run build script + - name: Pack run: python build.py 0 - name: Release LunaTranslator uses: softprops/action-gh-release@v2 diff --git a/build.py b/build.py index edde858..dbf9e05 100644 --- a/build.py +++ b/build.py @@ -14,11 +14,12 @@ def installVCLTL(): subprocess.run(f"7z x {vcltlFileName} -oVC-LTL5") os.chdir("VC-LTL5") subprocess.run("cmd /c Install.cmd") -installVCLTL() os.chdir(os.path.join(rootDir,'scripts')) if int(sys.argv[1])==32: + installVCLTL() os.system('cmd /c build32.bat') elif int(sys.argv[1])==64: + installVCLTL() os.system('cmd /c build64.bat') else: os.system('cmd /c pack.bat') \ No newline at end of file diff --git a/scripts/build3264en.bat b/scripts/build3264en.bat deleted file mode 100644 index fd30855..0000000 --- a/scripts/build3264en.bat +++ /dev/null @@ -1,6 +0,0 @@ -cmake ../CMakeLists.txt -G "Visual Studio 17 2022" -A x64 -T host=x64 -B ../build/x64 -cmake --build ../build/x64 --config Release --target ALL_BUILD -j 14 - - -cmake ../CMakeLists.txt -G "Visual Studio 17 2022" -A win32 -T host=x86 -B ../build/x86 -cmake --build ../build/x86 --config Release --target ALL_BUILD -j 14 \ No newline at end of file