1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

chore: try to fix mac runner (#23214)

https://github.com/actions/runner-images/issues/9626
This commit is contained in:
Matt Mastracci 2024-04-03 18:02:57 -06:00 committed by GitHub
parent d3d3582b1f
commit 3e40c510c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 0 deletions

View file

@ -547,6 +547,17 @@ const ci = {
if: "matrix.use_sysroot", if: "matrix.use_sysroot",
...sysRootStep, ...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", name: "Install macOS aarch64 lld",
run: [ run: [

View file

@ -324,6 +324,13 @@ jobs:
CC=clang-16 CC=clang-16
CFLAGS=-flto=thin --sysroot=/sysroot CFLAGS=-flto=thin --sysroot=/sysroot
__0 __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 - name: Install macOS aarch64 lld
run: ./tools/install_prebuilt.js ld64.lld run: ./tools/install_prebuilt.js ld64.lld
if: '!(matrix.skip) && (matrix.os == ''macos'' && matrix.arch == ''aarch64'')' if: '!(matrix.skip) && (matrix.os == ''macos'' && matrix.arch == ''aarch64'')'