diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml index 11c22d9..d82b91a 100644 --- a/.github/workflows/make.yml +++ b/.github/workflows/make.yml @@ -1,8 +1,6 @@ name: Build and Run Tests on: - push: - branches: [ "main" ] pull_request: branches: [ "main" ] @@ -24,4 +22,9 @@ jobs: - name: Building project run: ninja -C build - name: Running tests - run: ninja test -C build \ No newline at end of file + run: ninja test -C build + - name: Archive build and test logs + uses: actions/upload-artifact@v4 + with: + name: meson-logs + path: build/meson-logs/** \ No newline at end of file diff --git a/meson.build b/meson.build index 8d29931..f530726 100644 --- a/meson.build +++ b/meson.build @@ -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']) )