mirror of
https://onedev.site.tesses.net/crosslang
synced 2026-02-08 09:05:46 +00:00
Fix scripts
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,6 +2,7 @@ publish
|
|||||||
build
|
build
|
||||||
builds
|
builds
|
||||||
compilers
|
compilers
|
||||||
|
artifacts
|
||||||
bin
|
bin
|
||||||
*.db
|
*.db
|
||||||
*.crvm
|
*.crvm
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user