mirror of
https://onedev.site.tesses.net/tesses-framework
synced 2026-02-08 15:55:46 +00:00
Add arch linux
This commit is contained in:
@@ -16,7 +16,7 @@ jobs:
|
|||||||
commands: |
|
commands: |
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -S .. -B . -DTESSESFRAMEWORK_FETCHCONTENT=OFF -DTESSESFRAMEWORK_ENABLE_SDL2=ON
|
cmake -S .. -B . -DTESSESFRAMEWORK_FETCHCONTENT=OFF
|
||||||
make -j12
|
make -j12
|
||||||
make install DESTDIR=out
|
make install DESTDIR=out
|
||||||
useTTY: true
|
useTTY: true
|
||||||
@@ -32,6 +32,25 @@ jobs:
|
|||||||
passwordSecret: dockersecret
|
passwordSecret: dockersecret
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||||
|
- !CommandStep
|
||||||
|
name: Build archlinux
|
||||||
|
runInContainer: true
|
||||||
|
image: git.tesseslanguage.com/tesses50/arch-builds:2025-11-11
|
||||||
|
interpreter: !DefaultInterpreter
|
||||||
|
commands: |
|
||||||
|
pacman --noconfirm -Sy mbedtls curl
|
||||||
|
pacman --config /opt/cross/ppc/pacman.conf --noconfirm -Sy mbedtls
|
||||||
|
cp Packaging/Linux/PKGBUILD /home/build/PKGBUILD
|
||||||
|
cp Packaging/Linux/build-arch.sh /home/build/build-arch.sh
|
||||||
|
chmod 755 /home/build/build-arch.sh
|
||||||
|
chown build:build /home/build/PKGBUILD
|
||||||
|
chown build:build /home/build/build-arch.sh
|
||||||
|
su build -c /home/build/build-arch.sh
|
||||||
|
envVars:
|
||||||
|
- name: GITEA_AUTH
|
||||||
|
value: '@secret:GITEA_AUTH@'
|
||||||
|
useTTY: true
|
||||||
|
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||||
- !CommandStep
|
- !CommandStep
|
||||||
name: Build and Publish Deb Package
|
name: Build and Publish Deb Package
|
||||||
runInContainer: true
|
runInContainer: true
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Maintainer: Mike Nolan <tesses@tesses.net>
|
# Maintainer: Mike Nolan <tesses@tesses.net>
|
||||||
pkgname=tesses-framework # '-bzr', '-git', '-hg' or '-svn'
|
pkgname=tesses-framework # '-bzr', '-git', '-hg' or '-svn'
|
||||||
pkgver=r186.fb5b06a
|
pkgver=1.0.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc=""
|
pkgdesc=""
|
||||||
arch=('x86_64' 'powerpc')
|
arch=('x86_64' 'powerpc')
|
||||||
|
|||||||
17
Packaging/Linux/build-arch.sh
Normal file
17
Packaging/Linux/build-arch.sh
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cd /home/build
|
||||||
|
mkdir x86_64
|
||||||
|
cd x86_64
|
||||||
|
cp ../PKGBUILD
|
||||||
|
makepkg
|
||||||
|
curl --user tesses50:$GITEA_AUTH \
|
||||||
|
--upload-file *.pkg.tar.zst \
|
||||||
|
https://git.tesseslanguage.com/api/packages/tesses50/arch/core
|
||||||
|
cd ..
|
||||||
|
mkdir powerpc
|
||||||
|
cd powerpc
|
||||||
|
cp ../PKGBUILD .
|
||||||
|
CARCH=powerpc CMAKE_TOOLCHAIN=/opt/cross/ppc/toolchain.cmake makepkg
|
||||||
|
curl --user tesses50:$GITEA_AUTH \
|
||||||
|
--upload-file *.pkg.tar.zst \
|
||||||
|
https://git.tesseslanguage.com/api/packages/tesses50/arch/core
|
||||||
Reference in New Issue
Block a user