Browse Source

feat: add arm64 on macos build (#848)

Baptiste Augrain 3 years ago
parent
commit
b748657b09
2 changed files with 13 additions and 3 deletions
  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:
       fail-fast: false
       matrix:
-        vscode_arch: [x64, arm64, armhf]
         include:
         - vscode_arch: x64
           npm_arch: x64

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

@@ -10,10 +10,21 @@ on:
 
 jobs:
   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:
       OS_NAME: "osx"
-      VSCODE_ARCH: "x64"
+      VSCODE_ARCH: ${{ matrix.vscode_arch }}
+
     steps:
       - uses: actions/checkout@v2