mirror of
https://github.com/karl0ss/AnotterKiosk.git
synced 2025-04-28 18:43:41 +01:00

Readme: Add x86 compatibility kiosk: Add tmpfs for /var/lib/private kiosk: Add custom motd kiosk: Add custom issue string kiosk: Fix systemd-logind and systemd-timesyncd readonly handling ntpdate: Autorestart on failure x86: Change EFI partition type to "Basic Data Partition" (was ESP) x86: Fix wpasupplicant package name x86: Set custom grub OS name CI: Combine workflows for all architectures
69 lines
1.8 KiB
YAML
69 lines
1.8 KiB
YAML
name: CI
|
|
|
|
on:
|
|
create: { }
|
|
pull_request: { }
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
x86:
|
|
runs-on: [ubuntu-latest]
|
|
|
|
outputs:
|
|
pkgfile: ${{ steps.pkgname.outputs.pkgfile }}
|
|
|
|
steps:
|
|
- name: Check out repo
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt update -qq
|
|
sudo apt install -yqq libguestfs-tools qemu-utils qemu-system-x86 ovmf qemu-block-extra qemu-user-static binfmt-support rsync sudo wget xz-utils pigz mount dosfstools libarchive-tools
|
|
|
|
- name: Build firmware
|
|
run: |
|
|
./build_x86.sh
|
|
|
|
- name: Release build artifacts
|
|
uses: softprops/action-gh-release@v1
|
|
if: startsWith(github.ref, 'refs/tags/')
|
|
with:
|
|
append_body: true
|
|
body_path: ./version-info
|
|
files: |
|
|
./anotterkiosk-*
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
raspberrypi:
|
|
runs-on: [self-hosted, hetzner-cax21]
|
|
|
|
outputs:
|
|
pkgfile: ${{ steps.pkgname.outputs.pkgfile }}
|
|
|
|
steps:
|
|
- name: Check out repo
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt update -qq
|
|
sudo apt install -yqq libguestfs-tools qemu-utils qemu-system-arm qemu-efi-aarch64 qemu-block-extra qemu-user-static binfmt-support rsync sudo wget xz-utils pigz mount dosfstools libarchive-tools
|
|
|
|
- name: Build firmware
|
|
run: |
|
|
./build_raspberry_pi.sh
|
|
|
|
- name: Release build artifacts
|
|
uses: softprops/action-gh-release@v1
|
|
if: startsWith(github.ref, 'refs/tags/')
|
|
with:
|
|
append_body: true
|
|
body_path: ./version-info
|
|
files: |
|
|
./anotterkiosk-*
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |