Skip to content

Commit dae50f4

Browse files
authored
Install Linux development packages (#1)
* Install Linux development packages for audio backends * Move to latest ubuntu * Actually use the openal 1.23.1 tag * Disable SNDIO
1 parent 108f7a1 commit dae50f4

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11

22
name: Build
33

4-
on: [push, pull_request]
4+
on:
5+
push:
6+
branches:
7+
- main
8+
tags:
9+
- 1.**
10+
pull_request:
11+
branches:
12+
- main
513

614
jobs:
715
build:
816
name: build-${{ matrix.os }}
917
runs-on: ${{ matrix.os }}
1018
strategy:
1119
matrix:
12-
os: [windows-latest, macos-latest, ubuntu-20.04]
20+
os: [windows-latest, macos-latest, ubuntu-latest]
1321
fail-fast: false
1422
steps:
1523
- name: Expose GitHub Runtime
@@ -21,6 +29,10 @@ jobs:
2129
if: runner.os == 'Linux'
2230
run: sudo apt-get install build-essential git make cmake autoconf automake pkg-config
2331
shell: bash
32+
- name: Install Linux OpenAL dependencies
33+
if: runner.os == 'Linux'
34+
run: sudo apt-get install libasound2-dev libpulse-dev libjack-dev libsdl2-dev oss4-dev portaudio19-dev qtbase5-dev libdbus-1-dev libpipewire-0.3-dev
35+
shell: bash
2436
- name: Clone repository
2537
uses: actions/checkout@v4
2638
with:

build/BuildLinuxTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public override void Run(BuildContext context)
1414
var buildWorkingDir = "openal-soft/build_linux";
1515
context.CreateDirectory(buildWorkingDir);
1616
context.CreateDirectory($"{context.ArtifactsDir}/linux-x64/");
17-
context.StartProcess("cmake", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "-DALSOFT_TESTS=OFF -DALSOFT_UTILS=OFF -DALSOFT_EXAMPLES=OFF -DALSOFT_INSTALL=OFF .." });
17+
context.StartProcess("cmake", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "-DALSOFT_TESTS=OFF -DALSOFT_UTILS=OFF -DALSOFT_EXAMPLES=OFF -DALSOFT_INSTALL=OFF -DALSOFT_BACKEND_SNDIO=OFF .." });
1818
context.StartProcess("make", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "" });
1919
context.CopyFile($"{buildWorkingDir}/libopenal.so", $"{context.ArtifactsDir}/linux-x64/libopenal.so");
2020
BuildAndroid (context, "arm64-v8a", "android-arm64", "23");

openal-soft

Submodule openal-soft updated 291 files

0 commit comments

Comments
 (0)