Skip to content

Commit

Permalink
ci: CodeRabbit suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
acgetchell committed Nov 5, 2024
1 parent 41fedd6 commit 23cfa34
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ clone_script:
&& git submodule update --init --recursive
environment:
APPVEYOR_SAVE_CACHE_ON_ERROR : false
APPVEYOR_CACHE_SKIP_RESTORE : true
APPVEYOR_SAVE_CACHE_ON_ERROR: false
APPVEYOR_CACHE_SKIP_RESTORE: true
VCPKG_DEFAULT_TRIPLET: x64-windows
VCPKG_ROOT: c:\tools\vcpkg

Expand Down
16 changes: 13 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,20 @@ jobs:
- name: Setup
run: |
# Remove Python symlinks if they exist
for file in \
/usr/local/bin/{2to3,idle3,pydoc3,python3,python3-config}{,-3.11,-3.12}; do
[ -L "$file" ] && sudo rm "$file" || true
declare -a python_files=("2to3" "idle3" "pydoc3" "python3" "python3-config")
declare -a python_versions=("3.11" "3.12")
echo "Checking and removing Python symlinks..."
for base in "${python_files[@]}"; do
for version in "${python_versions[@]}"; do
file="/usr/local/bin/${base}${version}"
[ -L "$file" ] && sudo rm "$file" || true
done
done
echo "Python symlink cleanup completed."
# for file in \
# /usr/local/bin/{2to3,idle3,pydoc3,python3,python3-config}{,-3.11,-3.12}; do
# [ -L "$file" ] && sudo rm "$file" || true
# done
brew install automake autoconf autoconf-archive libtool texinfo yasm ninja python ccache pkg-config

- name: Restore artifacts or setup vcpkg
Expand Down

0 comments on commit 23cfa34

Please sign in to comment.