CI linux: && git push
This commit is contained in:
1
build.sh
1
build.sh
@@ -1,6 +1,7 @@
|
|||||||
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"
|
||||||
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 -Wsingle-bit-bitfield-constant-conversion
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|||||||
@@ -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 -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 -Wsingle-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 -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 -Wsingle-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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user