From bf97117e35c35097b78315cac425b1933fb1412b Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Tue, 11 Nov 2025 19:06:53 +0100 Subject: [PATCH] [ci] Update macosx worker list Supported github workers are now 14, 15 and 15-intel. 13 is deprecated. --- .github/workflows/macos.yml | 3 ++- test/test_xsimd_api.cpp | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index a0d4a4d18..f2b17faa9 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -8,8 +8,9 @@ jobs: strategy: matrix: os: - - 13 - 14 + - 15 + - 15-intel runs-on: macos-${{ matrix.os }} name: 'macos-${{ matrix.os }}' steps: diff --git a/test/test_xsimd_api.cpp b/test/test_xsimd_api.cpp index ff9ca65f2..a61c0e6ad 100644 --- a/test/test_xsimd_api.cpp +++ b/test/test_xsimd_api.cpp @@ -484,7 +484,11 @@ struct xsimd_api_float_types_functions void test_asin() { value_type val(1); +#if defined(__APPLE__) + CHECK_EQ(extract(xsimd::asin(T(val))), doctest::Approx(std::asin(val))); +#else CHECK_EQ(extract(xsimd::asin(T(val))), std::asin(val)); +#endif } void test_asinh() {