Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
n-ando committed Oct 18, 2024
1 parent eee9de4 commit 8602116
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Build project
run: |
( cd usr/local/bin/brew/Library/Taps/openrtm/homebrew-omniorb ; bash build.sh )
( cd /usr/local/bin/brew/Library/Taps/openrtm/homebrew-omniorb ; bash build.sh )
build-apple-silicon:
name: omniORB Formula build on macOS (ARM64)
Expand Down
9 changes: 7 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

build=(
# "omniorb-ssl-py39 python@3.9"
# "omniorb-ssl-py310 python@3.10"
"omniorb-ssl-py39 python@3.9"
"omniorb-ssl-py310 python@3.10"
"omniorb-ssl-py311 python@3.11"
"omniorb-ssl-py312 python@3.12"
"omniorb-ssl-py313 python@3.13"
Expand Down Expand Up @@ -40,6 +40,11 @@ cleanup()
{
for ((i=0; ${#build[*]}>$i; i++)) ; do
tmp=(${build[$i]})
installed=`brew info ${tmp[0]} | grep Installed`
if test "x" = "x$installed" ; then
echo "Not installed: ${tmp[0]}. Do nothing."
continue
fi
echo "Cleanup: ${tmp[0]}"
brew unlink "${tmp[0]}"
brew remove --ignore-dependencies "${tmp[0]}"
Expand Down

0 comments on commit 8602116

Please sign in to comment.