Skip to content
Open
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
6 changes: 5 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ jobs:
architecture: 'x64'
# install dependencies
- name: CMake build
run: cmake -B build && cmake --build build
run: |
cmake -B build
cmake --build build
ctest -V --test-dir build -C Debug

- name: autoconf build
if: ${{ matrix.os == 'ubuntu-latest' }}
Expand All @@ -21,3 +24,4 @@ jobs:
./configure
make clean
make
make test
2 changes: 1 addition & 1 deletion tests/tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static const char *read_file_to_string(const char *file)
buf = (char *)malloc(size + 1);
TT_ASSERT_PTR_NOTNULL(buf);

fp = fopen(file, "rt");
fp = fopen(file, "rb");
TT_ASSERT_PTR_NOTNULL(fp);

r = fread(buf, 1, size, fp);
Expand Down
Loading