浏览代码

feat: add arm64 on macos build (#848)

Baptiste Augrain 3 年之前
父节点
当前提交
b748657b09
共有 2 个文件被更改,包括 13 次插入3 次删除
  1. 0 1
      .github/workflows/linux.yml
  2. 13 2
      .github/workflows/macos.yml

+ 0 - 1
.github/workflows/linux.yml

@@ -20,7 +20,6 @@ jobs:
     strategy:
     strategy:
       fail-fast: false
       fail-fast: false
       matrix:
       matrix:
-        vscode_arch: [x64, arm64, armhf]
         include:
         include:
         - vscode_arch: x64
         - vscode_arch: x64
           npm_arch: x64
           npm_arch: x64

+ 13 - 2
.github/workflows/macos.yml

@@ -10,10 +10,21 @@ on:
 
 
 jobs:
 jobs:
   build:
   build:
-    runs-on: macOS-latest
+    runs-on: ${{ matrix.os }}
+    
+    strategy:
+      fail-fast: false
+      matrix:
+        include:
+          - vscode_arch: x64
+            os: macOS-10.15
+          - vscode_arch: arm64
+            os: macOS-11
+
     env:
     env:
       OS_NAME: "osx"
       OS_NAME: "osx"
-      VSCODE_ARCH: "x64"
+      VSCODE_ARCH: ${{ matrix.vscode_arch }}
+
     steps:
     steps:
       - uses: actions/checkout@v2
       - uses: actions/checkout@v2