Adding quicknes flags and adding test logs to artifacts
This commit is contained in:
parent
7530b51ab0
commit
373ea4c6c0
|
@ -1,8 +1,6 @@
|
||||||
name: Build and Run Tests
|
name: Build and Run Tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches: [ "main" ]
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
|
|
||||||
|
@ -25,3 +23,8 @@ jobs:
|
||||||
run: ninja -C build
|
run: ninja -C build
|
||||||
- name: Running tests
|
- name: Running tests
|
||||||
run: ninja test -C build
|
run: ninja test -C build
|
||||||
|
- name: Archive build and test logs
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: meson-logs
|
||||||
|
path: build/meson-logs/**
|
|
@ -11,7 +11,7 @@ pageSize = get_option('CPUFunctionAlignment')
|
||||||
subdir('source')
|
subdir('source')
|
||||||
|
|
||||||
# Common application flags
|
# Common application flags
|
||||||
commonCompileArgs = [ '-Wfatal-errors', '-Wall', '-Wno-multichar' ]
|
commonCompileArgs = [ '-Wfatal-errors', '-Wall']
|
||||||
|
|
||||||
# Building playback tool
|
# Building playback tool
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ quickerNESTester = executable('quickerNESTester',
|
||||||
|
|
||||||
quickNESTester = executable('quickNESTester',
|
quickNESTester = executable('quickNESTester',
|
||||||
'source/tester.cpp',
|
'source/tester.cpp',
|
||||||
cpp_args : [ commonCompileArgs ],
|
cpp_args : [ commonCompileArgs, '-Wno-multichar', '-DDISABLE_AUTO_FILE', '-D__LIBRETRO__', '-DNDEBUG', '-DBLARGG_NONPORTABLE' ],
|
||||||
dependencies : [ quickNESDependency, toolDependency ],
|
dependencies : [ quickNESDependency, toolDependency ],
|
||||||
include_directories : include_directories(['../extern/json'])
|
include_directories : include_directories(['../extern/json'])
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue