Skip to content

Commit

Permalink
needs
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Sep 17, 2024
1 parent 492b8f0 commit 3c994d6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/actions/nss/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,13 @@ runs:
github-token: ${{ inputs.token }}

- name: Install build dependencies (Linux)
needs: prebuilt
shell: bash
if: needs.prebuilt.outputs.download-path == '' && runner.os == 'Linux' && env.BUILD_NSS == '1' && runner.environment == 'github-hosted'
env:
DEBIAN_FRONTEND: noninteractive
run: sudo apt-get install -y --no-install-recommends gyp ninja-build

- name: Install build dependencies (MacOS)
needs: prebuilt
shell: bash
if: needs.prebuilt.outputs.download-path == '' && runner.os == 'MacOS' && env.BUILD_NSS == '1'
run: |
Expand All @@ -136,7 +134,6 @@ runs:
echo "$(python3 -m site --user-base)/bin" >> "$GITHUB_PATH"
- name: Install build dependencies (Windows)
needs: prebuilt
shell: bash
if: needs.prebuilt.outputs.download-path == '' && runner.os == 'Windows' && env.BUILD_NSS == '1'
run: |
Expand All @@ -150,14 +147,12 @@ runs:
python3 -m pip install -r req.txt
- name: Set up MSVC (Windows)
needs: prebuilt
if: needs.prebuilt.outputs.download-path == '' && runner.os == 'Windows' && env.BUILD_NSS == '1'
uses: ilammy/msvc-dev-cmd@v1
# TODO: Would like to pin this, but the Mozilla org allowlist requires "ilammy/msvc-dev-cmd@v1*"
# uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0

- name: Set up build environment (Windows)
needs: prebuilt
shell: bash
if: needs.prebuilt.outputs.download-path == '' && runner.os == 'Windows' && env.BUILD_NSS == '1'
run: |
Expand All @@ -170,7 +165,6 @@ runs:
rm /usr/bin/link.exe || true
- name: Build
needs: prebuilt
shell: bash
if: needs.prebuilt.outputs.download-path == '' && env.BUILD_NSS == '1'
run: |
Expand All @@ -195,7 +189,6 @@ runs:
NSPR_DIR: ${{ github.workspace }}/nspr

- name: Cache NSS build
needs: prebuilt
if: needs.prebuilt.outputs.download-path == '' && env.BUILD_NSS == '1'
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 3c994d6

Please sign in to comment.