Add MinGW step to CI
All checks were successful
CI / build-and-analyze (push) Successful in 1m19s

This commit is contained in:
2026-08-09 12:58:22 +03:00
parent f8f90f94dc
commit 62f5ab01cb

View File

@@ -17,7 +17,7 @@ jobs:
- name: Install tools - name: Install tools
run: | run: |
sudo apt-get update -qq sudo apt-get update -qq
sudo apt-get install -y build-essential clang clang-tools clang-tidy cppcheck sudo apt-get install -y build-essential clang clang-tools clang-tidy cppcheck gcc-mingw-w64-x86-64
- name: Build with GCC - name: Build with GCC
run: | run: |
@@ -29,6 +29,11 @@ jobs:
make -f Makefile.posix clean make -f Makefile.posix clean
make -f Makefile.posix CC=clang CFLAGS="-std=c99 -Wall -Wextra -Wpedantic -Werror -O2" make -f Makefile.posix CC=clang CFLAGS="-std=c99 -Wall -Wextra -Wpedantic -Werror -O2"
- name: Build with MinGW
run: |
make -f Makefile.posix clean
make -f Makefile.mingw CC=x86_64-w64-mingw32-gcc AR=x86_64-w64-mingw32-ar CFLAGS="-std=c99 -Wall -Wextra -Wpedantic -Werror -O2"
- name: Linting checks - name: Linting checks
run: | run: |
echo "Running all linting checks..." echo "Running all linting checks..."