mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 22:03:36 +00:00
Add setuptools to mac pipeline (#9834)
* Add setuptools to mac pipeline Mac runners have progressed above python 3.12, which removed `distutils`. We need to ensure it's installed for node-gyp compilations by installing the setuptools package. * Add missed mac build
This commit is contained in:
12
.github/workflows/build-desktop.yml
vendored
12
.github/workflows/build-desktop.yml
vendored
@@ -464,6 +464,9 @@ jobs:
|
|||||||
cache-dependency-path: '**/package-lock.json'
|
cache-dependency-path: '**/package-lock.json'
|
||||||
node-version: ${{ env._NODE_VERSION }}
|
node-version: ${{ env._NODE_VERSION }}
|
||||||
|
|
||||||
|
- name: Set up Node-gyp
|
||||||
|
run: python3 -m pip install setuptools
|
||||||
|
|
||||||
- name: Rust
|
- name: Rust
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: rustup target install aarch64-apple-darwin
|
run: rustup target install aarch64-apple-darwin
|
||||||
@@ -625,6 +628,9 @@ jobs:
|
|||||||
cache-dependency-path: '**/package-lock.json'
|
cache-dependency-path: '**/package-lock.json'
|
||||||
node-version: ${{ env._NODE_VERSION }}
|
node-version: ${{ env._NODE_VERSION }}
|
||||||
|
|
||||||
|
- name: Set up Node-gyp
|
||||||
|
run: python3 -m pip install setuptools
|
||||||
|
|
||||||
- name: Rust
|
- name: Rust
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: rustup target install aarch64-apple-darwin
|
run: rustup target install aarch64-apple-darwin
|
||||||
@@ -831,6 +837,9 @@ jobs:
|
|||||||
cache-dependency-path: '**/package-lock.json'
|
cache-dependency-path: '**/package-lock.json'
|
||||||
node-version: ${{ env._NODE_VERSION }}
|
node-version: ${{ env._NODE_VERSION }}
|
||||||
|
|
||||||
|
- name: Set up Node-gyp
|
||||||
|
run: python3 -m pip install setuptools
|
||||||
|
|
||||||
- name: Rust
|
- name: Rust
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: rustup target install aarch64-apple-darwin
|
run: rustup target install aarch64-apple-darwin
|
||||||
@@ -1028,6 +1037,9 @@ jobs:
|
|||||||
cache-dependency-path: '**/package-lock.json'
|
cache-dependency-path: '**/package-lock.json'
|
||||||
node-version: ${{ env._NODE_VERSION }}
|
node-version: ${{ env._NODE_VERSION }}
|
||||||
|
|
||||||
|
- name: Set up Node-gyp
|
||||||
|
run: python3 -m pip install setuptools
|
||||||
|
|
||||||
- name: Print environment
|
- name: Print environment
|
||||||
run: |
|
run: |
|
||||||
node --version
|
node --version
|
||||||
|
|||||||
Reference in New Issue
Block a user