Skip to content

Commit

Permalink
Add GitHub Actions Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
duhow committed Dec 12, 2024
1 parent d91b0f9 commit 52984f3
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
push:
branches:
- master
pull_request:

jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:24.04
env:
DEBIAN_FRONTEND: noninteractive
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
apt update
apt install -y \
sudo \
cmake build-essential \
libx11-dev \
libssl-dev libplist-dev \
libavahi-compat-libdnssd-dev \
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
- name: Run cmake
run: |
mkdir build
cd build
cmake ..
- name: Build
run: make -j$(nproc) -C build

0 comments on commit 52984f3

Please sign in to comment.