Skip to content

Commit

Permalink
fix(tests): don't skip packages on macOS (#8)
Browse files Browse the repository at this point in the history
We now execute both x64 and arm64 macOS runners.
  • Loading branch information
williamboman authored Aug 3, 2024
1 parent 3175d76 commit 8bc12ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ function is-testing-package {
function match {
local fn=$1
shift
if [[ $TARGET != *"x64"* ]]; then
# All runners run on the x64 architecture currently. Emulation currently takes place in the application layer
# (mason.nvim itself), and only for GitHub release sources. It's pointless to install these when not targeting x64.
if [[ $RUNNER_OS != macOS ]] && [[ $TARGET != *"x64"* ]]; then
# macOS runners always execute on the correct architecture. Non-macOS runners only execute on x64, so we skip
# packages if we're currently not targeting x64 to avoid wasting runner resources.
echo "Not targeting x64, skipping all provided packages."
skip-packages "$@"
return 0
Expand Down

0 comments on commit 8bc12ba

Please sign in to comment.