Skip to content

Commit

Permalink
ci: Add ubuntu-24.04-arm to the check matrix (#2404)
Browse files Browse the repository at this point in the history
* ci: Add `ubuntu-24.04-arm` to the `check` matrix

Fixes #2401

* Cache NSS for each arch
  • Loading branch information
larseggert authored Feb 3, 2025
1 parent 6ff71f7 commit e365730
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/nss/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ runs:
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: dist
key: nss-${{ runner.os }}-${{ inputs.type }}-${{ env.NSS_HEAD }}-${{ env.NSPR_HEAD }}
key: nss-${{ runner.os }}-${{ runner.arch }}-${{ inputs.type }}-${{ env.NSS_HEAD }}-${{ env.NSPR_HEAD }}

- name: Check if build is needed
if: env.USE_SYSTEM_NSS == '0'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
# TODO: Switch to ubuntu-latest-arm when available as a tag.
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest]
rust-toolchain: ${{ fromJSON(needs.toolchains.outputs.toolchains) }}
type: [debug]
include:
Expand Down

0 comments on commit e365730

Please sign in to comment.