From 1425b4be278b6a400111721e26ebccb01b75dec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Tokodi?= Date: Thu, 23 May 2024 12:07:53 +0200 Subject: [PATCH] Fix CI for macos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Roll back macos version used by github actions from `macos-latest` (`macos-14`) to `macos-13`. Due to compiler bugs present in the latest version of clang on macos: 1. Some modulo operations were failing, such as `-1 % -1` when compiler optimizations were enabled 2. `-Wliteral-range` was falsely raised for `isnan`, `isinf`, and `isfinite` macros in `test-math.c` JerryScript-DCO-1.0-Signed-off-by: Máté Tokodi mate.tokodi@szteszoftver.hu --- .github/workflows/gh-actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-actions.yml b/.github/workflows/gh-actions.yml index f2db5d11c8..85d5659f04 100644 --- a/.github/workflows/gh-actions.yml +++ b/.github/workflows/gh-actions.yml @@ -57,7 +57,7 @@ jobs: - run: $RUNNER -q --jerry-tests --buildoptions=--compile-flag=-m32,--cpointer-32bit=on --build-debug OSX_x86-64_Build_Correctness_Unit_Tests: - runs-on: macos-latest + runs-on: macos-13 steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v4 @@ -67,7 +67,7 @@ jobs: - run: $RUNNER -q --unittests OSX_x86-64_Build_Correctness_Unit_Tests_Debug: - runs-on: macos-latest + runs-on: macos-13 steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v4