Skip to content

Commit

Permalink
Reenable Windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfd committed Aug 6, 2023
1 parent e4bdf53 commit c164057
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ jobs:
echo "-- runner.workspace: ${{ runner.workspace }}"
echo "-- github.workspace: ${{ github.workspace }}"
- name: Build tests
if: ${{ false }}
run: |
cmake `
--build build `
Expand All @@ -249,9 +248,7 @@ jobs:
--target sfizz_tests `
--verbose `
- name: Run tests
if: ${{ false }}
run: |
.\build\tests\${{ env.build_type }}\sfizz_tests.exe
ctest `
--build-config ${{ env.build_type }} `
--debug `
Expand Down
2 changes: 1 addition & 1 deletion external/st_audiofile/src/st_audiofile.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ static st_audio_file* st_generic_open_file(const void* filename, int widepath)
#if defined(_WIN32)
// WavPack expects an UTF8 input and has no widechar api, so we convert the filename back...
unsigned wsize = wcslen(filename);
unsigned size = WideCharToMultiByte(CP_UTF8, 0, filename, wsize, NULL, 0, 0, NULL, NULL);
unsigned size = WideCharToMultiByte(CP_UTF8, 0, filename, wsize, NULL, 0, NULL, NULL);
char *buffer = (char*)malloc((size+1) * sizeof(char));
WideCharToMultiByte(CP_UTF8, 0, filename, wsize, buffer, size, NULL, NULL);
buffer[size] = '\0';
Expand Down

0 comments on commit c164057

Please sign in to comment.