CI linux: && git push
This commit is contained in:
4
build.sh
4
build.sh
@@ -1,8 +1,8 @@
|
|||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
mkdir build
|
mkdir build
|
||||||
pushd build
|
pushd build
|
||||||
echo "clang ../src/meta/build_tool.c -ldl -o build_tool.exe -g -fdiagnostics-absolute-paths -Wsingle-bit-bitfield-constant-conversion"
|
echo "clang ../src/meta/build_tool.c -ldl -o build_tool.exe -g -fdiagnostics-absolute-paths -Wno-single-bit-bitfield-constant-conversion"
|
||||||
clang ../src/meta/build_tool.c -ldl -o build_tool.exe -g -fdiagnostics-absolute-paths -Wsingle-bit-bitfield-constant-conversion
|
clang ../src/meta/build_tool.c -ldl -o build_tool.exe -g -fdiagnostics-absolute-paths -Wno-single-bit-bitfield-constant-conversion
|
||||||
popd
|
popd
|
||||||
|
|
||||||
./build/build_tool.exe -cc=clang
|
./build/build_tool.exe -cc=clang
|
||||||
@@ -102,7 +102,7 @@ int main(int argc, char **argv) {
|
|||||||
} else {
|
} else {
|
||||||
ok = os_systemf(
|
ok = os_systemf(
|
||||||
"clang ../src/testing/testing_main.c -o testing.exe -g -I ../src"
|
"clang ../src/testing/testing_main.c -o testing.exe -g -I ../src"
|
||||||
" -fdiagnostics-absolute-paths -Wno-unsequenced -Wsingle-bit-bitfield-constant-conversion"
|
" -fdiagnostics-absolute-paths -Wno-unsequenced -Wno-single-bit-bitfield-constant-conversion"
|
||||||
" -lm -ldl"
|
" -lm -ldl"
|
||||||
);
|
);
|
||||||
if (ok != 0) return ok;
|
if (ok != 0) return ok;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// automatically generated using: /home/sev/wasm/src/app/app.meta.c
|
// automatically generated using: C:\dev\wasm\src/app/app.meta.c
|
||||||
|
|
||||||
type_t type__app_key_t = { type_kind_enum, s8_const_lit("app_key_t"), sizeof(app_key_t),
|
type_t type__app_key_t = { type_kind_enum, s8_const_lit("app_key_t"), sizeof(app_key_t),
|
||||||
.members = (type_member_t[]){
|
.members = (type_member_t[]){
|
||||||
@@ -228,7 +228,7 @@ app_key_t w32_map_wparam_to_app_key(WPARAM wparam) {
|
|||||||
default: {return app_key_null;} break;
|
default: {return app_key_null;} break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif/*/home/sev/wasm/src/app/app.meta.c(135)*/
|
#endif/*C:\dev\wasm\src/app/app.meta.c(135)*/
|
||||||
type_t type__app_mouse_button_t = { type_kind_enum, s8_const_lit("app_mouse_button_t"), sizeof(app_mouse_button_t),
|
type_t type__app_mouse_button_t = { type_kind_enum, s8_const_lit("app_mouse_button_t"), sizeof(app_mouse_button_t),
|
||||||
.members = (type_member_t[]){
|
.members = (type_member_t[]){
|
||||||
{.name = s8_const_lit("app_mouse_button_null"), .value = app_mouse_button_null},
|
{.name = s8_const_lit("app_mouse_button_null"), .value = app_mouse_button_null},
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// automatically generated using: /home/sev/wasm/src/app/app.meta.c
|
// automatically generated using: C:\dev\wasm\src/app/app.meta.c
|
||||||
typedef enum {
|
typedef enum {
|
||||||
app_key_null,
|
app_key_null,
|
||||||
app_key_1,
|
app_key_1,
|
||||||
@@ -71,7 +71,7 @@ app_key_page_up,
|
|||||||
app_key_page_down,
|
app_key_page_down,
|
||||||
app_key_count,
|
app_key_count,
|
||||||
} app_key_t;
|
} app_key_t;
|
||||||
/*/home/sev/wasm/src/app/app.meta.c(135)*/
|
/*C:\dev\wasm\src/app/app.meta.c(135)*/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
app_mouse_button_null,
|
app_mouse_button_null,
|
||||||
app_mouse_button_left,
|
app_mouse_button_left,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// auto generated using: core_math_gen.py
|
// auto generated using: C:\dev\wasm\src\core\core_math_gen.py
|
||||||
fn_inline v2f32_t v2f32(f32 x, f32 y) { return (v2f32_t){ x, y }; }
|
fn_inline v2f32_t v2f32(f32 x, f32 y) { return (v2f32_t){ x, y }; }
|
||||||
gb_read_only v2f32_t v2f32_null = {0};
|
gb_read_only v2f32_t v2f32_null = {0};
|
||||||
fn_inline b32 v2f32_is_null(v2f32_t a) { return memory_equal(&a, &v2f32_null, sizeof(a)); }
|
fn_inline b32 v2f32_is_null(v2f32_t a) { return memory_equal(&a, &v2f32_null, sizeof(a)); }
|
||||||
|
|||||||
@@ -5156,9 +5156,9 @@ int main(int argument_count, char **arguments) {
|
|||||||
if (S8_AreEqual(cc, S8_Lit("cl"), false)) {
|
if (S8_AreEqual(cc, S8_Lit("cl"), false)) {
|
||||||
result = os_systemf("cl \"%.*s\" -nologo -Zi -WX -W3 -wd4200 -diagnostics:column /Fe:%.*s /Fd:%.*s.pdb", S8_Expand(build_file), S8_Expand(exe_name), S8_Expand(name_no_ext));
|
result = os_systemf("cl \"%.*s\" -nologo -Zi -WX -W3 -wd4200 -diagnostics:column /Fe:%.*s /Fd:%.*s.pdb", S8_Expand(build_file), S8_Expand(exe_name), S8_Expand(name_no_ext));
|
||||||
} else if (S8_AreEqual(cc, S8_Lit("clang"), false)) {
|
} else if (S8_AreEqual(cc, S8_Lit("clang"), false)) {
|
||||||
result = os_systemf("clang \"%.*s\" -o %.*s -ldl -g -Wsingle-bit-bitfield-constant-conversion -fdiagnostics-absolute-paths -Wno-writable-strings %s", S8_Expand(build_file), S8_Expand(exe_name), IF_LINUX_ELSE("-lm", ""));
|
result = os_systemf("clang \"%.*s\" -o %.*s -ldl -g -Wno-single-bit-bitfield-constant-conversion -fdiagnostics-absolute-paths -Wno-writable-strings %s", S8_Expand(build_file), S8_Expand(exe_name), IF_LINUX_ELSE("-lm", ""));
|
||||||
} else {
|
} else {
|
||||||
result = os_systemf("gcc \"%.*s\" -o %.*s -ldl -g -Wsingle-bit-bitfield-constant-conversion -Wno-write-strings %s", S8_Expand(build_file), S8_Expand(exe_name), IF_LINUX_ELSE("-lm", ""));
|
result = os_systemf("gcc \"%.*s\" -o %.*s -ldl -g -Wno-single-bit-bitfield-constant-conversion -Wno-write-strings %s", S8_Expand(build_file), S8_Expand(exe_name), IF_LINUX_ELSE("-lm", ""));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result != 0) {
|
if (result != 0) {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// automatically generated using: /home/sev/wasm/src/render/render.meta.c
|
// automatically generated using: C:\dev\wasm\src/render/render.meta.c
|
||||||
gb_read_only u8 main_font_data[] = {
|
gb_read_only u8 main_font_data[] = {
|
||||||
0,1,0,0,0,16,1,0,0,4,0,0,71,68,69,70,9,171,18,85,0,0,2,40,0,0,1,242,71,80,79,83,196,118,81,155,0,0,24,140,0,0,22,52,71,83,85,66,112,248,190,150,0,0,222,16,0,0,83,202,79,83,47,50,
|
0,1,0,0,0,16,1,0,0,4,0,0,71,68,69,70,9,171,18,85,0,0,2,40,0,0,1,242,71,80,79,83,196,118,81,155,0,0,24,140,0,0,22,52,71,83,85,66,112,248,190,150,0,0,222,16,0,0,83,202,79,83,47,50,
|
||||||
138,149,152,224,0,0,1,200,0,0,0,96,83,84,65,84,121,145,108,221,0,0,1,96,0,0,0,46,99,109,97,112,147,243,132,151,0,0,75,136,0,0,65,218,103,97,115,112,0,0,0,16,0,0,1,20,0,0,0,8,103,108,121,102,
|
138,149,152,224,0,0,1,200,0,0,0,96,83,84,65,84,121,145,108,221,0,0,1,96,0,0,0,46,99,109,97,112,147,243,132,151,0,0,75,136,0,0,65,218,103,97,115,112,0,0,0,16,0,0,1,20,0,0,0,8,103,108,121,102,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// automatically generated using: /home/sev/wasm/src/ui/ui.meta.c
|
// automatically generated using: C:\dev\wasm\src/ui/ui.meta.c
|
||||||
|
|
||||||
type_t type__ui_color_t = { type_kind_enum, s8_const_lit("ui_color_t"), sizeof(ui_color_t),
|
type_t type__ui_color_t = { type_kind_enum, s8_const_lit("ui_color_t"), sizeof(ui_color_t),
|
||||||
.members = (type_member_t[]){
|
.members = (type_member_t[]){
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// automatically generated using: /home/sev/wasm/src/ui/ui.meta.c
|
// automatically generated using: C:\dev\wasm\src/ui/ui.meta.c
|
||||||
typedef enum {
|
typedef enum {
|
||||||
ui_color_rect,
|
ui_color_rect,
|
||||||
ui_color_rect_hot,
|
ui_color_rect_hot,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// automatically generated using: /home/sev/wasm/src/wasm_app/wasm_app.meta.c
|
// automatically generated using: C:\dev\wasm\src/wasm_app/wasm_app.meta.c
|
||||||
gb f32 font_size = 30;
|
gb f32 font_size = 30;
|
||||||
gb f32 _font_size = 30;
|
gb f32 _font_size = 30;
|
||||||
gb_read_only mt_tweak_t tweak_table[] = {
|
gb_read_only mt_tweak_t tweak_table[] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user