mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-10-17 12:23:13 +08:00
Update continuous integration to build 32-bit Unity
This commit is contained in:
@ -18,7 +18,9 @@ install:
|
|||||||
script:
|
script:
|
||||||
- cd test && rake ci
|
- cd test && rake ci
|
||||||
- make -s
|
- make -s
|
||||||
- make -s DEBUG=-m32
|
- make -s DEBUG=-m32 #32-bit architecture with 64-bit support
|
||||||
|
- make -s DEBUG=-m32 UNITY_SUPPORT_64= #32-bit build without 64-bit types
|
||||||
|
- make -s UNITY_INCLUDE_DOUBLE= # without double
|
||||||
- cd ../extras/fixture/test && rake ci
|
- cd ../extras/fixture/test && rake ci
|
||||||
- make -s default noStdlibMalloc
|
- make -s default noStdlibMalloc
|
||||||
- make -s C89
|
- make -s C89
|
||||||
|
@ -15,7 +15,9 @@ CFLAGS += -Wbad-function-cast -Wcast-qual -Wold-style-definition -Wshadow -Wstri
|
|||||||
CFLAGS += $(DEBUG)
|
CFLAGS += $(DEBUG)
|
||||||
DEFINES = -D UNITY_OUTPUT_CHAR=putcharSpy
|
DEFINES = -D UNITY_OUTPUT_CHAR=putcharSpy
|
||||||
DEFINES += -D UNITY_OUTPUT_CHAR_HEADER_DECLARATION=putcharSpy\(int\)
|
DEFINES += -D UNITY_OUTPUT_CHAR_HEADER_DECLARATION=putcharSpy\(int\)
|
||||||
DEFINES += -D UNITY_SUPPORT_64 -D UNITY_INCLUDE_DOUBLE
|
DEFINES += $(UNITY_SUPPORT_64) $(UNITY_INCLUDE_DOUBLE)
|
||||||
|
UNITY_SUPPORT_64 = -D UNITY_SUPPORT_64
|
||||||
|
UNITY_INCLUDE_DOUBLE = -D UNITY_INCLUDE_DOUBLE
|
||||||
SRC = ../src/unity.c tests/testunity.c build/testunityRunner.c
|
SRC = ../src/unity.c tests/testunity.c build/testunityRunner.c
|
||||||
INC_DIR = -I ../src
|
INC_DIR = -I ../src
|
||||||
COV_FLAGS = -fprofile-arcs -ftest-coverage -I ../../src
|
COV_FLAGS = -fprofile-arcs -ftest-coverage -I ../../src
|
||||||
|
Reference in New Issue
Block a user