From 117a4cca2a12c8e9e81a9f662e03acd310b15a19 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Thu, 19 May 2022 18:09:27 +0100 Subject: [PATCH] Added Darwin ARM64 prebuilt binaries - this adds support for supplying Darwin ARM64 prebuilt binaries for node-sqlite3 --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ec2b8a7b..10365e3de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,6 +41,10 @@ jobs: node: 16 host: x86 target: x86 + - os: macos-m1 + node: 16 + host: arm64 + target: arm64 name: ${{ matrix.os }} (node=${{ matrix.node }}, host=${{ matrix.host }}, target=${{ matrix.target }}) steps: - uses: actions/checkout@v3 @@ -49,6 +53,10 @@ jobs: node-version: ${{ matrix.node }} architecture: ${{ matrix.host }} + - name: Add yarn (self-hosted) + if: matrix.os == 'macos-m1' + run: npm install -g yarn + - name: Add msbuild to PATH uses: microsoft/setup-msbuild@v1.1 if: contains(matrix.os, 'windows')