diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 369e537..3867db0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,7 +17,7 @@ jobs: - name: Install tools run: | 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 run: | @@ -29,6 +29,11 @@ jobs: make -f Makefile.posix clean 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 run: | echo "Running all linting checks..."