Skip to content

Commit

Permalink
Use .net9 rc1 and add a audio filter for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Sep 18, 2024
1 parent 3a60d3b commit b0c737d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
if: runner.os == 'macOS'

- name: Setup Wine
run: wget -qO- https://monogame.net/downloads/net8_mgfxc_wine_setup.sh | bash
run: wget -qO- https://monogame.net/downloads/net9_mgfxc_wine_setup.sh | bash
if: runner.os != 'Windows'

- name: Install required workloads
Expand Down Expand Up @@ -154,6 +154,7 @@ jobs:
platform: macos
- os: ubuntu-latest
platform: linux
filter: --where Category != "Audio"
fail-fast: false
steps:
- name: Clone repository
Expand Down Expand Up @@ -185,7 +186,7 @@ jobs:
if: runner.os == 'Linux' && runner.environment == 'github-hosted'

- name: Setup Wine
run: wget -qO- https://monogame.net/downloads/net8_mgfxc_wine_setup.sh | bash
run: wget -qO- https://monogame.net/downloads/net9_mgfxc_wine_setup.sh | bash
if: runner.os != 'Windows' && runner.environment == 'github-hosted'

- name: Download tests-tools-${{ matrix.platform }}
Expand Down Expand Up @@ -228,7 +229,7 @@ jobs:
# Run the DesktopGL tests on all platforms using NUnitLite runner not dotnet test
# We have to run this is bits because the tests crash if too many are run in one go?
- name: Run Framework Tests
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Framework
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Framework ${{matrix.filter}}
env:
CI: true
working-directory: tests-desktopgl
Expand All @@ -238,6 +239,7 @@ jobs:
env:
CI: true
working-directory: tests-desktopgl
if: runner.environment == 'github-hosted'

- name: Run Input Tests
run: dotnet MonoGame.Tests.dll --timeout=300000 --test MonoGame.Tests.Input
Expand Down
1 change: 1 addition & 0 deletions Tests/Framework/FrameworkDispatcherTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ enum CallOnAnotherThreadTestResult

#if !XNA
[Test]
[Category ("Audio")]
public void UpdatesSoundEffectInstancePool()
{
FrameworkDispatcher.Update();
Expand Down

0 comments on commit b0c737d

Please sign in to comment.