2024-07-27 23:11:00 +02:00
|
|
|
name: PikaOS Upstream Package Build & Release (i386)
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
paths:
|
|
|
|
- 'pika-build-config/i386.sh'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2024-07-31 21:36:56 +02:00
|
|
|
runs-on: upstream-package
|
2024-07-27 23:11:00 +02:00
|
|
|
container:
|
2024-08-07 22:13:13 +02:00
|
|
|
image: ghcr.io/pikaos-linux/pika-base-debian-container:i386
|
2024-07-27 23:11:00 +02:00
|
|
|
volumes:
|
|
|
|
- /proc:/proc
|
2024-08-07 18:41:08 +02:00
|
|
|
options: --privileged -it --cap-add=sys_admin --cap-add mknod --device=/dev/fuse --security-opt seccomp=unconfined --security-opt label=disable
|
2024-07-27 23:11:00 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2024-08-08 23:45:14 +02:00
|
|
|
- name: Update APT Cache
|
|
|
|
run: apt-get update -y
|
|
|
|
|
2024-08-07 17:58:52 +02:00
|
|
|
- name: Set Build Config
|
|
|
|
run: cp -vf ./pika-build-config/i386setup.sh ./pika-build-config.sh
|
|
|
|
|
2024-07-27 23:11:00 +02:00
|
|
|
- name: Build Package
|
2024-08-07 19:41:54 +02:00
|
|
|
run: ./main.sh
|
2024-07-27 23:11:00 +02:00
|
|
|
|
|
|
|
- name: Release Package
|
|
|
|
run: ./release.sh
|