Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build binaries and create GitHub release

# Set the permissions of the github token to the minimum and only enable what is needed
# See https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions
permissions: {}

on:
push:
branches:
- main

jobs:
build-and-release:
permissions:
contents: write # for publishing release
strategy:
matrix:
build:
- os: ubuntu-24.04
- os: ubuntu-24.04-arm

runs-on: ${{ matrix.build.os }}
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false

- uses: docker/setup-buildx-action@v4

- uses: docker/build-push-action@v7
with:
tags: syshud:latest
load: true
cache-from: type=gha
cache-to: type=gha,mode=max

- run: docker run --rm -u $(id -u):$(id -g) -v .:/workspace syshud make -j syshud
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM debian:13-slim

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y \
git \
build-essential \
libgtk4-layer-shell-dev \
libgtkmm-4.0-dev \
libpulse-dev \
libevdev-dev \
libwireplumber-0.5-dev \
&& rm -rf /var/lib/apt/lists/*

WORKDIR /workspace