diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index 466d30ba40..1aae3dea79 100755 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -547,6 +547,17 @@ const ci = { if: "matrix.use_sysroot", ...sysRootStep, }, + { + name: "Remove macOS cURL --ipv4 flag", + run: [ + // cURL's --ipv4 flag is busted for now + "curl --version", + "which curl", + "cat /etc/hosts", + "rm ~/.curlrc || true", + ].join("\n"), + if: `matrix.os == 'macos'`, + }, { name: "Install macOS aarch64 lld", run: [ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0dfc1654d5..43a4b37f02 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -324,6 +324,13 @@ jobs: CC=clang-16 CFLAGS=-flto=thin --sysroot=/sysroot __0 + - name: Remove macOS cURL --ipv4 flag + run: |- + curl --version + which curl + cat /etc/hosts + rm ~/.curlrc || true + if: '!(matrix.skip) && (matrix.os == ''macos'')' - name: Install macOS aarch64 lld run: ./tools/install_prebuilt.js ld64.lld if: '!(matrix.skip) && (matrix.os == ''macos'' && matrix.arch == ''aarch64'')'