mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-15 09:13:13 +02:00
CI: Enable extended warnings in example_null builds.
CI: Add MinGW build with extra warnings on windows. (cherry picked from commit ebc98c273054d0f9b305a1346db98052616a8b21)
This commit is contained in:
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -41,6 +41,9 @@ jobs:
|
||||
}
|
||||
|
||||
# Not using matrix here because it would inflate job count too much. Check out and setup is done for every job and that makes build times way too long.
|
||||
- name: Build example_null (extra warnings)
|
||||
run: mingw32-make -C examples/example_null EXTRA_WARNINGS=1
|
||||
|
||||
- name: Build Win32 example_glfw_opengl2
|
||||
shell: cmd
|
||||
run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_glfw_opengl2/example_glfw_opengl2.vcxproj /p:Platform=Win32 /p:Configuration=Release'
|
||||
@ -150,8 +153,8 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libglfw3-dev libsdl2-dev
|
||||
|
||||
- name: Build example_null
|
||||
run: make -C examples/example_null
|
||||
- name: Build example_null (extra warnings)
|
||||
run: make -C examples/example_null EXTRA_WARNINGS=1
|
||||
|
||||
- name: Build example_glfw_opengl2
|
||||
run: make -C examples/example_glfw_opengl2
|
||||
@ -179,8 +182,8 @@ jobs:
|
||||
brew install glfw3
|
||||
brew install sdl2
|
||||
|
||||
- name: Build example_null
|
||||
run: make -C examples/example_null
|
||||
- name: Build example_null (extra warnings)
|
||||
run: make -C examples/example_null EXTRA_WARNINGS=1
|
||||
|
||||
- name: Build example_glfw_opengl2
|
||||
run: make -C examples/example_glfw_opengl2
|
||||
|
Reference in New Issue
Block a user