mirror of
https://github.com/WonderfulToolchain/psxavenc.git
synced 2025-12-17 11:30:26 +00:00
chore: fix GitHub CI
This commit is contained in:
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@@ -17,6 +17,7 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: psxavenc
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Build psxavenc for Windows
|
||||
run: |
|
||||
|
||||
@@ -3,7 +3,7 @@ project('psxavenc', 'c', default_options: ['c_std=c11'])
|
||||
add_project_arguments('-D_POSIX_C_SOURCE=201112L', language : 'c')
|
||||
|
||||
conf_data = configuration_data()
|
||||
conf_data.set('VERSION', '"' + run_command('git', 'describe', '--tags', '--match=v*', check: true).stdout().strip() + '"')
|
||||
conf_data.set('VERSION', '"' + run_command('git', '-C', meson.project_source_root(), 'describe', '--tags', '--always', '--dirty', '--match=v*', check: true).stdout().strip() + '"')
|
||||
configure_file(output: 'config.h', configuration: conf_data)
|
||||
|
||||
libm_dep = meson.get_compiler('c').find_library('m')
|
||||
|
||||
Reference in New Issue
Block a user