Skip to content

Commit

Permalink
github: Run openomf with null renderer and audio backends
Browse files Browse the repository at this point in the history
  • Loading branch information
mrannanj committed Dec 2, 2024
1 parent 6add65e commit 5a052a3
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,34 @@ jobs:
cd build-test
ctest --verbose --output-on-failure
- name: Restore omf2097-assets.zip
id: cache-assets
uses: actions/cache/restore@v4
with:
path: omf2097-assets.zip
key: omf2097-assets.zip

- name: Download omf 2097 assets
if: steps.cache-assets.outputs.cache-hit != 'true'
run: wget -q "${{ env.OPENOMF_ASSETS_URL }}"

- name: Cache omf2097-assets.zip
if: steps.cache-assets.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
with:
path: omf2097-assets.zip
key: omf2097-assets.zip

- name: Extract omf 2097 assets
run: unzip -j omf2097-assets.zip -d build-test/resources

- name: Run openomf with null output
run: |
cd build-test
echo "quit" | ./Debug/openomf --force-renderer NULL --force-audio-backend NULL
env:
LSAN_OPTIONS: suppressions=../lsan.supp

# Build windows release artifacts with MSVC
# -----------------------------------------------------------------------------------------------
build_msvc:
Expand Down
5 changes: 5 additions & 0 deletions lsan.supp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# libdbus leak
leak:__interceptor_calloc

# SDL leak
leak:has_gl_available

0 comments on commit 5a052a3

Please sign in to comment.