From e10f161e2f952d02bf8ff8e6e0a5795accdc4c61 Mon Sep 17 00:00:00 2001 From: Volodymyr Shymanskyy Date: Tue, 31 Dec 2019 02:54:31 +0200 Subject: [PATCH] Try fixing macos CI --- .github/workflows/tests.yml | 2 -- CMakeLists.txt | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d5333f6..6b10c58 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -61,12 +61,10 @@ jobs: run: | cmake --build build - name: Run spec tests - continue-on-error: true run: | cd test ./run-spec-test.py - name: Run WASI tests - continue-on-error: true run: | cd test ./run-wasi-test.py diff --git a/CMakeLists.txt b/CMakeLists.txt index 56d2e39..1523f08 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -103,8 +103,8 @@ elseif(WIN32) set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /Oxs /Oy /GS- /Qvec -Clang -O3") endif() else() - #set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wparentheses -Wundef -Wpointer-arith -Wstrict-aliasing=2") - #set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror=shadow -Werror=implicit-function-declaration") # -Werror=cast-align + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wparentheses -Wundef -Wpointer-arith -Wstrict-aliasing=2") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror=shadow -Werror=implicit-function-declaration") # -Werror=cast-align set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-function -Wno-unused-variable -Wno-unused-parameter -Wno-missing-field-initializers") if (CMAKE_C_COMPILER_ID MATCHES "Clang") # TODO: Place clang-specific options here