ci: disable tls for msys2 builds
authorVincent Fu <vincent.fu@samsung.com>
Sat, 27 May 2023 00:09:53 +0000 (20:09 -0400)
committerVincent Fu <vincent.fu@samsung.com>
Sat, 27 May 2023 00:09:53 +0000 (20:09 -0400)
The same tls issue that occurred with AppVeyor msys2 builds has appeared
in GitHub Actions msys2 builds. Disable thread local storage for GitHub
Actions msys2 builds as well.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
ci/actions-build.sh

index 351b8d18aad07e13cbc53d0cc82937855598922a..31d3446c076016530e80b95ef96bd8af79eece5b 100755 (executable)
@@ -53,6 +53,9 @@ main() {
                 "x86_64")
                     ;;
             esac
+            if [ "${CI_TARGET_BUILD}" = "windows-msys2-64" ]; then
+                configure_flags+=("--disable-tls")
+            fi
            ;;
     esac
     configure_flags+=(--extra-cflags="${extra_cflags}")