From d39136fd6b0d083c9e434c57e120946fddb63088 Mon Sep 17 00:00:00 2001 From: Lucas Date: Fri, 2 Feb 2024 12:22:30 +0800 Subject: [PATCH] Update macos runner (#1165) --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e73ec00..c10e5482 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -249,11 +249,11 @@ jobs: matrix: include: - target: aarch64-apple-darwin - os: macOS-latest + os: macos-14 # M1 CPU - target: debian-x86_64 os: ubuntu-latest - target: x86_64-apple-darwin - os: macOS-latest + os: macos-12 # x64 CPU - target: x86_64-pc-windows-msvc os: windows-latest ext: '.exe' @@ -341,6 +341,7 @@ jobs: - name: Start HTTP Server (MacOS, no Docker) if: runner.os == 'macos' run: | + mkdir -p /usr/local/etc/nginx cat << EOF > /usr/local/etc/nginx/nginx.conf worker_processes 1; events {