Skip to content

Commit

Permalink
neaten ci
Browse files Browse the repository at this point in the history
  • Loading branch information
expipiplus1 committed Jul 8, 2024
1 parent 44c60b9 commit 717978d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,8 @@ jobs:
export CC=aarch64-linux-gnu-gcc
export CXX=aarch64-linux-gnu-g++
fi
if [ "${{matrix.platform}}" = "aarch64" ]; then
export CMAKE_OSX_ARCHITECTURES="arm64"
elif [ "${{matrix.platform}}" = "x86_64" ]; then
export CMAKE_OSX_ARCHITECTURES="x86_64"
fi
CMAKE_OSX_ARCHITECTURES="${{matrix.platform}}"
CMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES//aarch64/arm64}
echo "CC=$CC" >> "$GITHUB_ENV"
echo "CXX=$CXX" >> "$GITHUB_ENV"
Expand Down

0 comments on commit 717978d

Please sign in to comment.