Fix scripts

This commit is contained in:
2025-10-22 15:03:17 -05:00
parent 5aa70d8d28
commit e1740131c4
3 changed files with 6 additions and 5 deletions

1
.gitignore vendored
View File

@@ -2,6 +2,7 @@ publish
build build
builds builds
compilers compilers
artifacts
bin bin
*.db *.db
*.crvm *.crvm

View File

@@ -48,6 +48,7 @@ jobs:
image: onedev.site.tesses.net/dependencies/debbuilder/plucky:latest image: onedev.site.tesses.net/dependencies/debbuilder/plucky:latest
interpreter: !DefaultInterpreter interpreter: !DefaultInterpreter
commands: | commands: |
mkdir artifacts
apt update -y apt update -y
apt install -y pkg-config git gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 gcc-mingw-w64-i686 g++-mingw-w64-i686 nsis apt install -y pkg-config git gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 gcc-mingw-w64-i686 g++-mingw-w64-i686 nsis
cd Packaging/Linux cd Packaging/Linux
@@ -68,7 +69,6 @@ jobs:
image: onedev.site.tesses.net/dependencies/debbuilder/jammy:latest image: onedev.site.tesses.net/dependencies/debbuilder/jammy:latest
interpreter: !DefaultInterpreter interpreter: !DefaultInterpreter
commands: | commands: |
mkdir artifacts
apt update -y apt update -y
apt install -y pkg-config git apt install -y pkg-config git
cd Packaging/Linux cd Packaging/Linux

View File

@@ -4,13 +4,13 @@ cd build-x86
make -j`nproc` make -j`nproc`
cpack -G NSIS cpack -G NSIS
cpack -G ZIP cpack -G ZIP
cp TessesCrossLang-*-win32.exe ../../../artifacts/crosslang-win32.exe mv TessesCrossLang-*-win32.exe ../../../artifacts/crosslang-win32.exe
cp TessesCrossLang-*-win32.zip ../../../artifacts/crosslang-win32.zip mv TessesCrossLang-*-win32.zip ../../../artifacts/crosslang-win32.zip
cd .. cd ..
cmake -S ../.. -B build-x64 -DCMAKE_TOOLCHAIN_FILE=`pwd`/WindowsToolchains/x64.cmake -DTESSESFRAMEWORK_FETCHCONTENT=ON -DTESSESFRAMEWORK_ENABLE_APPS=OFF -DTESSESFRAMEWORK_ENABLE_EXAMPLES=OFF -DTESSESFRAMEWORK_ENABLE_STATIC=ON -DTESSESFRAMEWORK_ENABLE_SHARED=OFF -DCMAKE_INSTALL_PREFIX=tmp-x64 cmake -S ../.. -B build-x64 -DCMAKE_TOOLCHAIN_FILE=`pwd`/WindowsToolchains/x64.cmake -DTESSESFRAMEWORK_FETCHCONTENT=ON -DTESSESFRAMEWORK_ENABLE_APPS=OFF -DTESSESFRAMEWORK_ENABLE_EXAMPLES=OFF -DTESSESFRAMEWORK_ENABLE_STATIC=ON -DTESSESFRAMEWORK_ENABLE_SHARED=OFF -DCMAKE_INSTALL_PREFIX=tmp-x64
cd build-x64 cd build-x64
make -j`nproc` make -j`nproc`
cpack -G NSIS cpack -G NSIS
cpack -G ZIP cpack -G ZIP
cp TessesCrossLang-*-win64.exe ../../../artifacts/crosslang-win64.exe mv TessesCrossLang-*-win64.exe ../../../artifacts/crosslang-win64.exe
cp TessesCrossLang-*-win64.zip ../../../artifacts/crosslang-win64.zip mv TessesCrossLang-*-win64.zip ../../../artifacts/crosslang-win64.zip