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
20 changes: 11 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,22 +170,24 @@ jobs:
windows-mingw-msys2:
runs-on: windows-latest
name: Windows x64 (MinGW MSYS2)
env:
MSYSTEM: UCRT64
CHERE_INVOKING: 1
defaults:
run:
shell: msys2 {0}
shell: 'C:\msys64\usr\bin\bash.exe -leo pipefail {0}'
steps:
- name: Checkout
uses: actions/checkout@v5

- name: Setup MSYS2
uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
install: base-devel
pacboy: >-
cc:p cmake:p ninja:p
update: true
release: false
run: |
pacman -Sy --noconfirm
pacman -S --needed --noconfirm \
base-devel \
mingw-w64-ucrt-x86_64-gcc \
mingw-w64-ucrt-x86_64-cmake \
mingw-w64-ucrt-x86_64-ninja

- name: Build with CMake
run: |
Expand Down
20 changes: 11 additions & 9 deletions .github/workflows/mingw-w64-msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,23 @@ jobs:
mingw-w64-msys2-build:
name: MSYS2 MinGW-w64 Windows Build
runs-on: windows-latest
env:
MSYSTEM: UCRT64
CHERE_INVOKING: 1
defaults:
run:
shell: msys2 {0}
shell: 'C:\msys64\usr\bin\bash.exe -leo pipefail {0}'
steps:
- uses: actions/checkout@v5

- name: Install core & build dependencies
uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
install: base-devel
pacboy: >-
cc:p cmake:p ninja:p
update: true
release: false
run: |
pacman -Sy --noconfirm
pacman -S --needed --noconfirm \
base-devel \
mingw-w64-ucrt-x86_64-gcc \
mingw-w64-ucrt-x86_64-cmake \
mingw-w64-ucrt-x86_64-ninja

- name: Configure
run: |
Expand Down
2 changes: 1 addition & 1 deletion tests/fuzzer/fuzz_gltf_customjson.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ static void fuzz_binary(const uint8_t *data, size_t size) {
std::string warn;

bool ret = ctx.LoadBinaryFromMemory(&model, &err, &warn, data,
static_cast<unsigned int>(size),
size,
/* base_dir */ "");
(void)ret;
}
Expand Down
Loading
Loading