Skip to content

Commit

Permalink
Add Ubuntu 24.04 Build
Browse files Browse the repository at this point in the history
Added a build step for Ubuntu 24.04 and build when PRs are opened from other repos.
  • Loading branch information
ad3154 authored and GwnDaan committed Jan 7, 2025
1 parent dbcaefa commit 3f07b08
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Build

on: push
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]

jobs:
windows_build:
Expand Down Expand Up @@ -83,5 +88,25 @@ jobs:
with:
name: 'Ubuntu 22.04 deb package'
path: build/_CPack_Packages/Linux/DEB/*.deb


ubuntu_24_04_build:
name: Ubuntu 24.04 Build
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Compile
run: |
mkdir build
sudo apt update
sudo apt install libasound2-dev libjack-jackd2-dev ladspa-sdk libcurl4-openssl-dev libfreetype6-dev libx11-dev libxcomposite-dev libxcursor-dev libxcursor-dev libxext-dev libxinerama-dev libxrandr-dev libxrender-dev libglu1-mesa-dev mesa-common-dev git cmake
cmake -S . -B build -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -Wno-dev
cmake --build build --config Release
cd build
cpack -G DEB
- name: 'Upload Ubuntu 24.04 deb package'
uses: actions/upload-artifact@v4
with:
name: 'Ubuntu 24.04 deb package'
path: build/_CPack_Packages/Linux/DEB/*.deb

0 comments on commit 3f07b08

Please sign in to comment.