Skip to content

Commit

Permalink
Correct a variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
pcolby committed Oct 4, 2024
1 parent 4730ac1 commit 3f7365b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ jobs:
# GitHub runners' (homebrew'd) gcc's only support support x86-64 prior to macos-14, and only arm64 after.
# Note: if we attempt to use multiple archs, gcc will warn, but continue, resulting in later failures.
elif [[ '${{ matrix.cc }}' == gcc-* ]]; then
if [[ '${{ matrix.os }}' == 'macos-13' ]]; then arx='x86_64'; else arch='arm64'; fi
if [[ '${{ matrix.os }}' == 'macos-13' ]]; then arch='x86_64'; else arch='arm64'; fi
# Otherwise, default to universal binaries, where possible.
else arch='arm64;x86_64'; fi
echo "CMAKE_OSX_ARCHITECTURES=${arch}" | tee -a "$GITHUB_ENV"
Expand Down

0 comments on commit 3f7365b

Please sign in to comment.