Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 21 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ jobs:
- name: Build library
run: meson compile -C build/
- name: Run tests
run: meson test -C build/
run: meson test -C build/ --print-errorlogs
- name: Upload test logs
if: failure()
uses: actions/upload-artifact@v4
with:
name: meson-logs-linux
path: build/meson-logs/

build-macos:
name: Build (macOS)
Expand All @@ -39,7 +45,13 @@ jobs:
- name: Build library
run: meson compile -C build/
- name: Run tests
run: meson test -C build/
run: meson test -C build/ --print-errorlogs
- name: Upload test logs
if: failure()
uses: actions/upload-artifact@v4
with:
name: meson-logs-macos
path: build/meson-logs/

build-windows:
name: Build (Windows MINGW64)
Expand All @@ -64,4 +76,10 @@ jobs:
- name: Build library
run: meson compile -C build/
- name: Run tests
run: meson test -C build/
run: meson test -C build/ --print-errorlogs
- name: Upload test logs
if: failure()
uses: actions/upload-artifact@v4
with:
name: meson-logs-windows
path: build/meson-logs/
2 changes: 1 addition & 1 deletion src/fstapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ static FILE *tmpfile_open(char **nam)

if (fname) {
*nam = fname;
fh = unlink_fopen(fname, "w+b");
fh = fopen(fname, "w+b");
}
}

Expand Down
Loading