From 81e4e1b6d68df3ce08049871b0b4134f1e028c91 Mon Sep 17 00:00:00 2001 From: Daniel Lando Date: Thu, 13 Jun 2024 14:59:44 +0200 Subject: [PATCH] fix: macos nodejs 18 build --- .github/workflows/build-macos.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 7441c765..8e6f5929 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -27,6 +27,11 @@ jobs: - run: yarn install --ignore-engines + # add missing distutils package to python 3.12 + - name: Install distutils + run: | + pip install distutils + - run: yarn start --node-range node${{ matrix.target-node }} --output dist - name: Check if binary is compiled, skip if download only @@ -63,6 +68,11 @@ jobs: - run: yarn install --ignore-engines + # add missing distutils package to python 3.12 + - name: Install distutils + run: | + pip install distutils + - run: yarn start --node-range node${{ matrix.target-node }} --arch arm64 --output dist env: CC: clang -arch arm64