mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
CI: Add 32/64 bit build variations to builds with extra warnings.
This commit is contained in:
parent
1742ca45c5
commit
bf6d1ba3d1
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
@ -154,10 +154,27 @@ jobs:
|
|||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libglfw3-dev libsdl2-dev
|
sudo apt-get install -y libglfw3-dev libsdl2-dev gcc-multilib g++-multilib
|
||||||
|
|
||||||
- name: Build example_null (extra warnings)
|
- name: Build example_null (extra warnings, gcc 32-bit)
|
||||||
run: make -C examples/example_null EXTRA_WARNINGS=1
|
run: |
|
||||||
|
make -C examples/example_null clean
|
||||||
|
CXXFLAGS="$CXXFLAGS -m32" make -C examples/example_null EXTRA_WARNINGS=1
|
||||||
|
|
||||||
|
- name: Build example_null (extra warnings, gcc 64-bit)
|
||||||
|
run: |
|
||||||
|
make -C examples/example_null clean
|
||||||
|
CXXFLAGS="$CXXFLAGS -m64" make -C examples/example_null EXTRA_WARNINGS=1
|
||||||
|
|
||||||
|
- name: Build example_null (extra warnings, clang 32-bit)
|
||||||
|
run: |
|
||||||
|
make -C examples/example_null clean
|
||||||
|
CXXFLAGS="$CXXFLAGS -m32" CXX=clang++ make -C examples/example_null EXTRA_WARNINGS=1
|
||||||
|
|
||||||
|
- name: Build example_null (extra warnings, clang 64-bit)
|
||||||
|
run: |
|
||||||
|
make -C examples/example_null clean
|
||||||
|
CXXFLAGS="$CXXFLAGS -m64" CXX=clang++ make -C examples/example_null EXTRA_WARNINGS=1
|
||||||
|
|
||||||
- name: Build example_null (unity build)
|
- name: Build example_null (unity build)
|
||||||
run: make -C examples/example_null UNITY_BUILD=1
|
run: make -C examples/example_null UNITY_BUILD=1
|
||||||
|
@ -15,7 +15,7 @@ endif
|
|||||||
OBJS = $(addsuffix .o, $(basename $(notdir $(SOURCES))))
|
OBJS = $(addsuffix .o, $(basename $(notdir $(SOURCES))))
|
||||||
UNAME_S := $(shell uname -s)
|
UNAME_S := $(shell uname -s)
|
||||||
|
|
||||||
CXXFLAGS = -I../ -I../../
|
CXXFLAGS += -I../ -I../../
|
||||||
CXXFLAGS += -g -Wall -Wformat
|
CXXFLAGS += -g -Wall -Wformat
|
||||||
LIBS =
|
LIBS =
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user