Skip to content

Commit

Permalink
Upgrade OpenAL library from 1.23.1 to 1.24.0 version (#181)
Browse files Browse the repository at this point in the history
Additionally:
- merge `build-linux` CI job into `build`
  • Loading branch information
evdokimovs authored Nov 26, 2024
1 parent 550b5bd commit d8cc937
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 40 deletions.
51 changes: 13 additions & 38 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
needs:
- build
- build-linux
- clippy
- dartanalyze
- dartfmt
Expand Down Expand Up @@ -135,10 +134,12 @@ jobs:
fail-fast: false
matrix:
platform:
- linux
- macos
- windows
runs-on: ${{ (matrix.platform == 'windows' && 'windows-latest')
|| 'macos-12' }}
runs-on: ${{ (matrix.platform == 'macos' && 'macos-12')
|| (matrix.platform == 'windows' && 'windows-latest')
|| 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@v1
Expand All @@ -148,6 +149,14 @@ jobs:
- uses: subosito/flutter-action@v2
- run: flutter config --enable-${{ matrix.platform }}-desktop

- name: Install Linux platform dependencies
run: sudo apt-get install -y
libgtk-3-dev libpulse-dev libudev-dev
libxcomposite-dev libxdamage-dev libxfixes-dev
libxrandr-dev libxtst-dev
ninja-build
if: ${{ matrix.platform == 'linux' }}

# Pin Xcode version for better compatibility.
- uses: maxim-lobanov/setup-xcode@v1
with:
Expand All @@ -162,39 +171,6 @@ jobs:
name: build-${{ matrix.platform }}
path: ${{ matrix.platform }}/rust/

build-linux:
name: build (linux)
runs-on: ubuntu-latest
# Pin glibc to 2.31 version for better compatibility.
container: debian:bullseye
steps:
- uses: actions/checkout@v4
- name: Install Linux platform dependencies
run: |
apt-get update
apt-get install -y \
curl jq xz-utils git make clang libssl-dev cmake \
libgtk-3-dev libpulse-dev libudev-dev libxcomposite-dev \
libxdamage-dev libxfixes-dev libxrandr-dev libxtst-dev \
ninja-build
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
# Container doesn't pick `~` (tilde) in `PATH`.
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- run: git config --global --add safe.directory '*'
- run: make rustup.targets only=linux
- uses: subosito/flutter-action@v2
- run: flutter config --enable-linux-desktop

- run: make cargo.build platform=linux debug=no
- run: make flutter.build platform=linux

- uses: actions/upload-artifact@v4
with:
name: build-linux
path: linux/rust/




Expand All @@ -204,7 +180,7 @@ jobs:

test-flutter:
name: test (example, ${{ matrix.platform }})
needs: ["build", "build-linux"]
needs: ["build"]
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -365,7 +341,6 @@ jobs:
&& github.event.pull_request.head.repo.owner.login == 'instrumentisto') }}
needs:
- build
- build-linux
- clippy
- dartanalyze
- dartfmt
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@ All user visible changes to this project will be documented in this file. This p



## [0.11.3] · Unreleased
[0.11.3]: https://github.com/instrumentisto/medea-flutter-webrtc/tree/0.11.3

[Diff](https://github.com/instrumentisto/medea-flutter-webrtc/compare/0.11.2...0.11.3)

### Changed

- Upgraded [OpenAL] library to [1.24.0][openal-1.24.0] version. ([#181])

[#181]: https://github.com/instrumentisto/medea-flutter-webrtc/pull/181
[openal-1.24.0]: https://github.com/kcat/openal-soft/releases/tag/1.24.0




## [0.11.2] · 2024-10-28
[0.11.2]: https://github.com/instrumentisto/medea-flutter-webrtc/tree/0.11.2

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Medea Flutter-WebRTC

[![pub](https://img.shields.io/pub/v/medea_flutter_webrtc "pub")](https://pub.dev/packages/medea_flutter_webrtc)
[![libwebrtc](https://img.shields.io/badge/libwebrtc-130.0.6723.69-blue "libwebrtc")](https://github.com/instrumentisto/libwebrtc-bin/releases/tag/130.0.6723.69)
[![OpenAL](https://img.shields.io/badge/OpenAL-1.23.1-blue "OpenAL")](https://github.com/kcat/openal-soft/releases/tag/1.23.1)
[![OpenAL](https://img.shields.io/badge/OpenAL-1.24.0-blue "OpenAL")](https://github.com/kcat/openal-soft/releases/tag/1.24.0)

[Changelog](https://github.com/instrumentisto/medea-flutter-webrtc/blob/main/CHANGELOG.md)

Expand Down
2 changes: 1 addition & 1 deletion crates/libwebrtc-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ static LIBWEBRTC_URL: &str =

/// URL for downloading `openal-soft` source code.
static OPENAL_URL: &str =
"https://github.com/kcat/openal-soft/archive/refs/tags/1.23.1";
"https://github.com/kcat/openal-soft/archive/refs/tags/1.24.0";

fn main() -> anyhow::Result<()> {
let lib_dir = libpath()?;
Expand Down

0 comments on commit d8cc937

Please sign in to comment.