Adding quicknes flags and adding test logs to artifacts

This commit is contained in:
Sergio Martin 2024-01-20 10:15:20 +01:00
parent 7530b51ab0
commit 373ea4c6c0
2 changed files with 8 additions and 5 deletions

View File

@ -1,8 +1,6 @@
name: Build and Run Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
@ -25,3 +23,8 @@ jobs:
run: ninja -C build
- name: Running tests
run: ninja test -C build
- name: Archive build and test logs
uses: actions/upload-artifact@v4
with:
name: meson-logs
path: build/meson-logs/**

View File

@ -11,7 +11,7 @@ pageSize = get_option('CPUFunctionAlignment')
subdir('source')
# Common application flags
commonCompileArgs = [ '-Wfatal-errors', '-Wall', '-Wno-multichar' ]
commonCompileArgs = [ '-Wfatal-errors', '-Wall']
# Building playback tool
@ -47,7 +47,7 @@ quickerNESTester = executable('quickerNESTester',
quickNESTester = executable('quickNESTester',
'source/tester.cpp',
cpp_args : [ commonCompileArgs ],
cpp_args : [ commonCompileArgs, '-Wno-multichar', '-DDISABLE_AUTO_FILE', '-D__LIBRETRO__', '-DNDEBUG', '-DBLARGG_NONPORTABLE' ],
dependencies : [ quickNESDependency, toolDependency ],
include_directories : include_directories(['../extern/json'])
)