File tree 3 files changed +31
-15
lines changed
3 files changed +31
-15
lines changed Original file line number Diff line number Diff line change 6
6
# ubuntu-22.04: Qt 5 + GTK 3
7
7
# ubuntu-24.04: Qt 6 + GTK 3
8
8
# Windows: Qt 6 + GTK 2
9
- # macOS (Autotools): Qt 5 - GTK
10
- # macOS (Meson): Qt 6 - GTK
9
+ # macOS 13: Qt 5 - GTK
10
+ # macOS 15: Qt 6 - GTK
11
11
12
12
os=$( tr ' [:upper:]' ' [:lower:]' <<< " $1" )
13
13
build_system=$( tr ' [:upper:]' ' [:lower:]' <<< " $2" )
@@ -58,11 +58,19 @@ case "$os" in
58
58
fi
59
59
;;
60
60
61
+ macos-13)
62
+ if [ " $build_system " = ' meson' ]; then
63
+ brew install $macos_packages qt@5 meson
64
+ else
65
+ brew install $macos_packages qt@5 automake
66
+ fi
67
+ ;;
68
+
61
69
macos* )
62
70
if [ " $build_system " = ' meson' ]; then
63
71
brew install $macos_packages qt@6 meson
64
72
else
65
- brew install $macos_packages qt@5 automake
73
+ brew install $macos_packages qt@6 automake libiconv
66
74
fi
67
75
;;
68
76
Original file line number Diff line number Diff line change 6
6
# ubuntu-22.04: Qt 5 + GTK 3
7
7
# ubuntu-24.04: Qt 6 + GTK 3
8
8
# Windows: Qt 6 + GTK 2
9
- # macOS (Autotools): Qt 5 - GTK
10
- # macOS (Meson): Qt 6 - GTK
9
+ # macOS 13: Qt 5 - GTK
10
+ # macOS 15: Qt 6 - GTK
11
11
12
12
action=$( tr ' [:upper:]' ' [:lower:]' <<< " $1" )
13
13
os=$( tr ' [:upper:]' ' [:lower:]' <<< " $2" )
@@ -49,13 +49,26 @@ case "$action" in
49
49
fi
50
50
;;
51
51
52
+ macos-13)
53
+ export PATH=" /usr/local/opt/qt@5/bin:$PATH "
54
+ export PKG_CONFIG_PATH=" /usr/local/opt/qt@5/lib/pkgconfig:$PKG_CONFIG_PATH "
55
+
56
+ if [ " $build_system " = ' meson' ]; then
57
+ meson setup build -D qt5=true -D gtk=false -D mac-media-keys=true
58
+ else
59
+ ./autogen.sh && ./configure --enable-qt5 --disable-gtk --enable-mac-media-keys
60
+ fi
61
+ ;;
62
+
52
63
macos* )
64
+ export PATH=" /opt/homebrew/opt/qt@6/bin:$PATH "
65
+ export PKG_CONFIG_PATH=" /opt/homebrew/opt/qt@6/libexec/lib/pkgconfig:$PKG_CONFIG_PATH "
66
+
53
67
if [ " $build_system " = ' meson' ]; then
54
68
meson setup build -D gtk=false -D mac-media-keys=true
55
69
else
56
- export PATH=" /usr/local/opt/qt@5/bin:$PATH "
57
- export PKG_CONFIG_PATH=" /usr/local/opt/qt@5/lib/pkgconfig:$PKG_CONFIG_PATH "
58
- ./autogen.sh && ./configure --enable-qt5 --disable-gtk --enable-mac-media-keys
70
+ brew uninstall libiconv
71
+ ./autogen.sh && ./configure --disable-gtk --enable-mac-media-keys
59
72
fi
60
73
;;
61
74
Original file line number Diff line number Diff line change 10
10
build :
11
11
strategy :
12
12
matrix :
13
- os : [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04,
14
- macos-13, macos-15,
15
- windows-2022]
16
- build-system : [autotools, meson]
17
- exclude :
18
- - os : macos-15
19
- build-system : autotools
13
+ os : [macos-15]
14
+ build-system : [autotools]
20
15
fail-fast : false
21
16
runs-on : ${{ matrix.os }}
22
17
You can’t perform that action at this time.
0 commit comments