File tree 2 files changed +10
-9
lines changed
2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 37
37
38
38
build-macos :
39
39
name : build in native macOS
40
- runs-on : macos-latest
40
+ runs-on : macos-15
41
41
steps :
42
42
- name : Checkout code
43
43
uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -21,6 +21,15 @@ LATEST=false
21
21
MANPAGES=1
22
22
CURRENT_PACKAGE_VERSION=0
23
23
24
+
25
+ command_exists () {
26
+ if ! [[ -x $( command -v " $1 " ) ]]; then
27
+ return 1
28
+ fi
29
+
30
+ return 0
31
+ }
32
+
24
33
# Check for Apple Silicon
25
34
if [[ (" $( uname -m) " == " arm64" ) && (" $OSTYPE " == " darwin" * ) ]]; then
26
35
# If arm64 AND darwin (macOS)
@@ -179,14 +188,6 @@ build() {
179
188
return 0
180
189
}
181
190
182
- command_exists () {
183
- if ! [[ -x $( command -v " $1 " ) ]]; then
184
- return 1
185
- fi
186
-
187
- return 0
188
- }
189
-
190
191
library_exists () {
191
192
if ! [[ -x $( pkg-config --exists --print-errors " $1 " 2>&1 > /dev/null) ]]; then
192
193
return 1
You can’t perform that action at this time.
0 commit comments