Use new build setup
Some checks failed
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-x86:latest, i386-linux-gnu, 386) (push) Has been cancelled
Build and Deploy on Tag / update-tap (push) Has been cancelled
Build and Deploy on Tag / 🔨 Build for PowerPC (push) Has been cancelled
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-riscv64:latest, riscv64-linux-gnu, riscv64) (push) Has been cancelled
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-x64:latest, x86_64-linux-gnu, amd64) (push) Has been cancelled
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-arm64:latest, aarch64-linux-gnu, arm64) (push) Has been cancelled
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-arm:latest, arm-linux-gnueabihf, arm7) (push) Has been cancelled
Some checks failed
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-x86:latest, i386-linux-gnu, 386) (push) Has been cancelled
Build and Deploy on Tag / update-tap (push) Has been cancelled
Build and Deploy on Tag / 🔨 Build for PowerPC (push) Has been cancelled
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-riscv64:latest, riscv64-linux-gnu, riscv64) (push) Has been cancelled
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-x64:latest, x86_64-linux-gnu, amd64) (push) Has been cancelled
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-arm64:latest, aarch64-linux-gnu, arm64) (push) Has been cancelled
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-arm:latest, arm-linux-gnueabihf, arm7) (push) Has been cancelled
This commit is contained in:
21
build-for-ppc.sh
Normal file
21
build-for-ppc.sh
Normal file
@@ -0,0 +1,21 @@
|
||||
curl https://git.tesses.org/tesses50/tessesframework/releases/download/v$TF_VERSION/tessesframework-v$TF_VERSION-powerpc.tar.gz | tar xz -C /opt/cross/staging
|
||||
|
||||
mkdir -p build
|
||||
pushd build
|
||||
cmake-cross -S .. -B . -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=Release
|
||||
make -j`nproc`
|
||||
mkdir -p /home/build/cl
|
||||
chown build:build -R /home/build
|
||||
make install DESTDIR=/home/build/cl/src
|
||||
cp ppc-pkgbuild /home/build/cl/PKGBUILD
|
||||
chmod 644 /home/build/cl/PKGBUILD
|
||||
chown build:build -R /home/build/cl
|
||||
pushd /home/build/cl
|
||||
su build -c 'CARCH=powerpc makepkg -d'
|
||||
curl --user tesses50:$PACKAGE_AND_BREW \
|
||||
--upload-file *.pkg.tar.zst \
|
||||
https://git.tesses.org/api/packages/tesses50/arch/core
|
||||
popd
|
||||
popd
|
||||
mkdir -p artifacts
|
||||
tar --owner=1000 --group=1000 czf artifacts/crosslang-$VERSION\-powerpc.tar.gz -C /home/build/cl/src/usr . -C /opt/cross/staging/ .
|
||||
Reference in New Issue
Block a user