diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 43983f93..51968093 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -101,7 +101,10 @@ jobs: run: | # Install qemu-user-static sudo apt-get update - sudo apt-get install -y qemu-user-static binfmt-support + sudo apt-get install -y qemu-user-static binfmt-support python3-setuptools + + # Install distutils for node-gyp + sudo apt-get install -y python3-distutils || sudo apt-get install -y python3-dev python-is-python3 # Download and install binfmt configurations diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 59bb48fd..68190dc1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -88,7 +88,10 @@ jobs: run: | # Install qemu-user-static sudo apt-get update - sudo apt-get install -y qemu-user-static binfmt-support + sudo apt-get install -y qemu-user-static binfmt-support python3-setuptools + + # Install distutils for node-gyp + sudo apt-get install -y python3-distutils || sudo apt-get install -y python3-dev python-is-python3 # Download and install binfmt configurations wget https://github.com/qemu/qemu/raw/master/scripts/qemu-binfmt-conf.sh