File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 3737
3838 build-macos :
3939 name : build in native macOS
40- runs-on : macos-latest
40+ runs-on : macos-15
4141 steps :
4242 - name : Checkout code
4343 uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -21,6 +21,15 @@ LATEST=false
2121MANPAGES=1
2222CURRENT_PACKAGE_VERSION=0
2323
24+
25+ command_exists () {
26+ if ! [[ -x $( command -v " $1 " ) ]]; then
27+ return 1
28+ fi
29+
30+ return 0
31+ }
32+
2433# Check for Apple Silicon
2534if [[ (" $( uname -m) " == " arm64" ) && (" $OSTYPE " == " darwin" * ) ]]; then
2635 # If arm64 AND darwin (macOS)
@@ -179,14 +188,6 @@ build() {
179188 return 0
180189}
181190
182- command_exists () {
183- if ! [[ -x $( command -v " $1 " ) ]]; then
184- return 1
185- fi
186-
187- return 0
188- }
189-
190191library_exists () {
191192 if ! [[ -x $( pkg-config --exists --print-errors " $1 " 2>&1 > /dev/null) ]]; then
192193 return 1
You can’t perform that action at this time.
0 commit comments