add i386
All checks were successful
PikaOS Upstream Package Build & Release (i386) / build (push) Successful in 58s

This commit is contained in:
Ward from fusion-voyager-3 2024-07-28 00:11:00 +03:00
parent 8efa2ac711
commit 296143b436
3 changed files with 52 additions and 0 deletions

40
.github/workflows/i386.yml vendored Normal file
View File

@ -0,0 +1,40 @@
name: PikaOS Upstream Package Build & Release (i386)
on:
push:
branches:
- main
paths:
- 'pika-build-config/i386.sh'
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/pikaos-linux/pika-base-debian-container:i386
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v3
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace
- name: Update APT Cache
run: apt-get update -y
- name: Set Build Config
run: cp -vf ./pika-build-config/i386setup.sh ./pika-build-config.sh
- name: Build Package
run: ./main.sh
- name: Release Package
run: ./release.sh

6
pika-build-config/i386.sh Executable file
View File

@ -0,0 +1,6 @@
export PIKA_PACKAGE_VERSION="2.9.6"
export PIKA_PACKAGE_NAME="apt"
export PIKA_PACKAGE_PATCH=false
export PIKA_REBUILD=true
export PIKA_REBUILD_VERSION="b3"
export PIKA_BUILD_ATTEMPT="1"

6
pika-build-config/i386setup.sh Executable file
View File

@ -0,0 +1,6 @@
#! /bin/bash
. pika-build-config/i386.sh
export PIKA_BUILD_ARCH="i386"
export DEBIAN_FRONTEND="noninteractive"
export DEB_BUILD_OPTIONS="nocheck notest terse"
export DPKG_GENSYMBOLS_CHECK_LEVEL=0